On Wed, Jun 23, 2010 at 10:40 PM, Bruce Dubbs <bruce.du...@gmail.com> wrote: > HouHongxun wrote: >> On 2010年06月24日 00:04, Stuart Stegall wrote: >>> I noticed that MPFR 3.0.0 was added to the Development Book. Two >>> things I noticed about this: >>> >>> 1. There are 156 tests now (that's with the patch mentioned in 2 ..) >>> >>> 2. There's a patch for MPFR 3.0.0: http://www.mpfr.org/mpfr-current/patch01 >>> The patch is necessary as there's a problem with the released 3.0.0. >>> >>> Patch notes: >>> >>> The integer value returned by the mpfr_out_str function is incorrect >>> on NaN and infinities. Moreover output errors are not handled, and if >>> such an error occurs, the return value is incorrect (it should have >>> been 0). These bugs are fixed by the mpfr_out_str.patch (which also >>> provides additional tests of mpfr_out_str). >>> >>> I'm guessing there are 155 tests without this patch. > >> No, without the patch you mentioned, all 156 tests passed. > > Reading the patch, it modifies tests/tout_str.c, but doesn't add any new > tests. The modification will probably identify more potential errors > but doesn't change the number of tests. > > It's curious that the developers put the patch prominently on the > 'Latest release' page, but don't release a new tarball. > > -- Bruce > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-dev > FAQ: http://www.linuxfromscratch.org/faq/ > Unsubscribe: See the above information page >
It only came to light for me when I ran into the the exact problem. I'm using the library in some client code, and I suspected it was a library bug, so I went to look for reports of it and ... low and behold. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page