mini-gmp and scientific notation

Katelyn McNair deprekate at
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
     2) Copy/paste and code out scientific notation parsing in mpz_set_str


More information about the gmp-discuss mailing list