On Wed, 25 Aug 2021, Frank Heckenbach wrote:

mpf_get_str seems to round incorrectly sometimes.
In this test program, the digits around 809 are "...244594553...",
so it should round to "...244595", but it outputs "...244594".

Hello,

if you care about correct rounding, I would recommend you use MPFR instead.

--
Marc Glisse
_______________________________________________
gmp-bugs mailing list
[email protected]
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to