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/15406] New: catan, catanh missing underflow exceptions


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

             Bug #: 15406
           Summary: catan, catanh 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


catan and catanh can miss underflow exceptions in the case where the tiny
result comes from the multiplication of a log by 0.25, and that multiplication
is exact although the mathematical result of the log wasn't exact.  Examples on
x86_64 are catan (0x1p511 + 0.5i) and catanh (0.5 + 0x1p511i).

(Before my recent fix for bug 15394, the tiny results would have been given
inaccurately as 0, but still with missing underflow exception.)

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