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/15405] New: csin, csinh, ccos, ccosh missing underflow exceptions


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

             Bug #: 15405
           Summary: csin, csinh, ccos, ccosh missing underflow 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


Similar to bug 14478 (fixed) for cexp, the functions csin, csinh, ccos, ccosh
are missing underflow exceptions when the final result underflows but the
multiplication generating it is exact although the mathematical result of the
function is not exactly representable.  Examples showing this on x86_64 are:

csin (0x1p-1074 + 0x1p-1022i)
csinh (0x1p-1022 + 0x1p-1074i)
ccos (0x1p-954 + 0x1p-120i)
ccosh (0x1p-120 + 0x1p-954i)

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