Known bugs in MPFR 0.4

  • mpfr_cmp(b, c) fails when b=0 and 0 < c < 1. A simple workaround is to replace in file cmp.c the line
    by the following lines:

  • mpfr_out_str gives a wrong result for a power-of-two base and rounding away from zero. A workaround is to add in file get_str.c the line: after the line