Austyn Krutsinger <[email protected]> writes: My initial though was to just skip the leading zero's in the mpz_set_str function by something like this: while (isspace( (unsigned char) *sp) || (*sp == '0')) sp++; Only problems is that this doesn't work for negative numbers that still have a bunch of leading zeros; I think we should not accept strings like 00000-0000017.
-- Torbjörn Please encrypt, key id 0xC8601622 _______________________________________________ gmp-bugs mailing list [email protected] https://gmplib.org/mailman/listinfo/gmp-bugs
