Lines Matching refs:gmp_strval
2 Feature Request #50283 (allow base in gmp_strval to use full range: 2 to 62, and -2 to -36)
9 printf("Decimal: %s, -36-based: %s\n", gmp_strval($a), gmp_strval($a,-36));
10 printf("Decimal: %s, 36-based: %s\n", gmp_strval($a), gmp_strval($a,36));
11 printf("Decimal: %s, -1-based: %s\n", gmp_strval($a), gmp_strval($a,-1));
12 printf("Decimal: %s, 1-based: %s\n", gmp_strval($a), gmp_strval($a,1));
13 printf("Decimal: %s, -37-based: %s\n", gmp_strval($a), gmp_strval($a,-37));
14 printf("Decimal: %s, 37-based: %s\n", gmp_strval($a), gmp_strval($a,37));
15 printf("Decimal: %s, 62-based: %s\n", gmp_strval($a), gmp_strval($a,62));
16 printf("Decimal: %s, 63-based: %s\n\n", gmp_strval($a), gmp_strval($a,63));
17 printf("Base 32 and 62-based: %s\n", gmp_strval(gmp_init("gh82179fbf5", 32), 62));
23 Warning: gmp_strval(): Bad base for conversion: -1 (should be between 2 and %d or -2 and -%d) in %s…
26 Warning: gmp_strval(): Bad base for conversion: 1 (should be between 2 and %d or -2 and -%d) in %s …
29 Warning: gmp_strval(): Bad base for conversion: -37 (should be between 2 and %d or -2 and -%d) in %…
34 Warning: gmp_strval(): Bad base for conversion: 63 (should be between 2 and %d or -2 and -%d) in %s…