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)
8 printf("Decimal: %s, -36-based: %s\n", gmp_strval($a), gmp_strval($a,-36));
9 printf("Decimal: %s, 36-based: %s\n", gmp_strval($a), gmp_strval($a,36));
10 printf("Decimal: %s, -1-based: %s\n", gmp_strval($a), gmp_strval($a,-1));
11 printf("Decimal: %s, 1-based: %s\n", gmp_strval($a), gmp_strval($a,1));
12 printf("Decimal: %s, -37-based: %s\n", gmp_strval($a), gmp_strval($a,-37));
13 printf("Decimal: %s, 37-based: %s\n", gmp_strval($a), gmp_strval($a,37));
14 printf("Decimal: %s, 62-based: %s\n", gmp_strval($a), gmp_strval($a,62));
15 printf("Decimal: %s, 63-based: %s\n\n", gmp_strval($a), gmp_strval($a,63));
16 printf("Base 32 and 62-based: %s\n", gmp_strval(gmp_init("gh82179fbf5", 32), 62));
22 Warning: gmp_strval(): Bad base for conversion: -1 (should be between 2 and %d or -2 and -%d) in %s…
25 Warning: gmp_strval(): Bad base for conversion: 1 (should be between 2 and %d or -2 and -%d) in %s …
28 Warning: gmp_strval(): Bad base for conversion: -37 (should be between 2 and %d or -2 and -%d) in %…
33 Warning: gmp_strval(): Bad base for conversion: 63 (should be between 2 and %d or -2 and -%d) in %s…