[Bug math/20894] The strange behavior of the log function

jsm28 at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Mon Dec 5 22:45:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=20894

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
This is clearly an excess precision issue, i.e. the compiler stores copies of
the return value with different precisions and divides those
different-precision copies so possibly resulting in a value < 1, so not an
issue with log itself (we only generally try to avoid excess range in return
values, not excess precision, with excess precision avoided only for functions
that must be correctly rounding).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list