nails cxx error

Torbjorn Granlund tg at
Sat Nov 8 22:47:28 CET 2008

Torbjorn Granlund <tg at> writes:

  A patch is at <>.
I now realize that my patch doesn't fully solve the problem.  mpf_eq
might still involve too many bits in the comparison.

To get things tight, one needs to locate the position of the most
significant bit of the operands, and count bits downwards from there.

The patched function is at least somewhat better than the original.

I'll address this properly for GMP 4.3.


More information about the gmp-bugs mailing list