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/15423] New: catan, catanh spurious underflows


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

             Bug #: 15423
           Summary: catan, catanh spurious underflows
           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 produce spurious underflow exceptions from squaring the
real and imaginary parts of their arguments.  These in turn can lead to other
spurious exceptions and inaccurate results.  Examples on x86_64: catan (1.0 +
0x1p-1020i) (spurious underflow), catan (0x1p-1020 + 1.0i) (spurious underflow
and divide-by-zero), catan (0x1p-512 + 1.0i) (spurious underflow and overflow),
catan (0x1.3p-536 - 1.0i) (spurious underflow, imaginary part of result is
inaccurate, -185.9367... but should be -186.0240...).

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