Question about creating and displaying mpf

Markus Törnqvist mjt at nysv.org
Wed Sep 15 07:31:56 CEST 2010


On Wed, Sep 15, 2010 at 05:20:33AM +0200, Paul Zimmermann wrote:
>
>remember MPF stores floating-point numbers in binary, and 1.678 is *not*
>exactly representable in binary, which explains the "...2e0".

Sure, see my other post where I picked up on that and the fact
MPQ gets a zero value as well when I try to assign a value to it.

Thanks tho :)

-- 
mjt



More information about the gmp-discuss mailing list