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/15327] New: cacosh inaccuracy and spurious exceptions


http://sourceware.org/bugzilla/show_bug.cgi?id=15327

             Bug #: 15327
           Summary: cacosh inaccuracy and spurious exceptions
           Product: glibc
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jsm28@gcc.gnu.org
    Classification: Unclassified


cacosh is inaccurate and raises spurious exceptions for various inputs.  For
example, for "float" on x86_64:

cacosh (0x1.fp127 + 0x1.fp127 i) produces spurious OVERFLOW/INVALID exceptions
and an incorrectly infinite result.

cacosh (0x1.fp-129 - 1.5 i) produces spurious UNDERFLOW exceptions.

cacosh (1.0 + 0x1.fp-30 i) has an error of 11040 ulp in the real part of the
result.

-- 
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]