Question about creating and displaying mpf

Markus Törnqvist mjt at
Tue Sep 14 20:22:20 CEST 2010

On Tue, Sep 14, 2010 at 05:53:20PM +0000, Markus Törnqvist wrote:

>>It is stored as a binary floating point number.
>How does that work?

Disregard, it's just a float.

Which made me test rationals. And fail the same way as everything else.

>I made a demo case, no gmpy involved, the smallest I could come up with:
>And a bit of a longer one:
>Anyone able to reproduce those? On any version 4?



More information about the gmp-discuss mailing list