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/20894] The strange behavior of the log function


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.

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