This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/2575] Incorrect return from float log2 (0X1.15AD6B5AD4B5AP+0)
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sun, 19 Feb 2012 13:29:58 +0000
- Subject: [Bug math/2575] Incorrect return from float log2 (0X1.15AD6B5AD4B5AP+0)
- Auto-submitted: auto-generated
- References: <bug-2575-131@http.sourceware.org/bugzilla/>
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.