mpf_t and mpf_get_str
Torbjorn Granlund
tg at swox.com
Tue Nov 20 15:30:44 CET 2007
On Mon, 2007-11-19 at 14:57 +0100, Torbjorn Granlund wrote:
> Your assumption that the mantissas are the same is not correct.
Why not? Aren't mantissas stored in binary? Doesn't mpf_get_str provide
all the available bits when using base 2? How can they be different?
As your example demonstrates, mpf_get_str does not provide all bits,
not even when output is in binary.
--
Torbjörn
More information about the gmp-discuss
mailing list