mpf_get_string still has limitations on 5.0.1 with MinGW.

Sergio Abreu dosergio at ig.com.br
Sun Dec 12 00:17:30 CET 2010


Sirs

I am using NetBeans IDE for C/C++ development. I wanted to give a try on 
GMP, so
I downloaded, configured and installed the 5.0.1 gmp packet using the 
msys tool (bat file).
Almost everything works fine, but it seems that for constants that use 
more than 32 bits bad things still occur.
For instance, mpf_get_str only work with values under 2^32.
If GMP is for "unlimited arithmetic", how can this happen ???
Could I have done something wrong during set up ?

Other point is: gmp_printf only print integer portions for mpq_t 
variables ? Isn't mpq_t intended for fractional values ?

Regards

Sergio Abreu



More information about the gmp-bugs mailing list