[Bug math/2575] Incorrect return from float log2 (0X1.15AD6B5AD4B5AP+0)
jsm28 at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Sun Feb 19 13:30:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=2575
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|SUSPENDED |RESOLVED
Resolution| |INVALID
--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-02-19 13:29:58 UTC ---
This report is about the float function log2f, but the test argument is of type
double (so rounded to type float before calling the function). When the given
double value is rounded to the float value 0X1.15AD6CP+0, the expected
correctly rounded result as given by MPFR is indeed 0X1.E0526CP-4, which is
what libm gives. So there is no bug here.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list