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/14034] New: acos (-1.0) gives -pi in round-downwards mode on x86


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.


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