This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/2575] Incorrect return from float log2 (0X1.15AD6B5AD4B5AP+0)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]