gmp_printf bug?

Vincent Lefevre vincent at vinc17.net
Wed Jul 20 12:33:39 CEST 2011


On 2011-07-20 08:31:16 +0200, Paul Zimmermann wrote:
> not sure, since with 2^1345466883500933129 I get:
> 
> tarte% ./a.out 
> 0.556747559748362425573e405025890106316192 # mpf_dump
> 5.567476e+405025890106316191               # gmp_printf
> 
> thus both outputs are in base 10.

OK, I thought that mpf_dump was like mpfr_dump (which does a raw
output in binary).

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


More information about the gmp-bugs mailing list