This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/20894] The strange behavior of the log function
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 05 Dec 2016 17:14:51 +0000
- Subject: [Bug math/20894] The strange behavior of the log function
- Auto-submitted: auto-generated
- References: <bug-20894-131@http.sourceware.org/bugzilla/>
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.