[Bug math/14034] New: acos (-1.0) gives -pi in round-downwards mode on x86
jsm28 at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Sun Apr 29 14:43:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=14034
Bug #: 14034
Summary: acos (-1.0) gives -pi in round-downwards mode on x86
Product: glibc
Version: 2.15
Status: NEW
Severity: normal
Priority: P2
Component: math
AssignedTo: unassigned@sourceware.org
ReportedBy: jsm28@gcc.gnu.org
Classification: Unclassified
This was discussed in bug 13942, but is really a separate issue:
On x86, acosf (-1.0f), acos (-1.0) and acosl (-1.0L) all give -pi instead of pi
in round-downwards mode, although the result is specified by ISO C to be in the
range [0, pi]. The same applies to acosl (-1.0L) on x86_64. I'm testing a
patch for this.
--
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.
More information about the Glibc-bugs
mailing list