mini-gmp and scientific notation

Katelyn McNair deprekate at gmail.com
Tue Feb 14 01:03:40 UTC 2017


Is there a way to get an integer in a string of scientific notation format
into an mpz_t variable?

It looks like the only scientific format handling is in mpf_set_str. So my
only options are:
     1) Use the full GMP packge (which is not doable due to it's lack of
portability)
     2) Copy/paste and code out scientific notation parsing in mpz_set_str

-- 
~Katelyn


More information about the gmp-discuss mailing list