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/14123] New: ccos, csin, ccosh, csinh internal overflows


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

             Bug #: 14123
           Summary: ccos, csin, ccosh, csinh internal overflows
           Product: glibc
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jsm28@gcc.gnu.org
    Classification: Unclassified


The implementations of ccos, csin, ccosh and csinh all suffer from internal
overflows in some cases where at least one part of the result, sometimes both
parts, should not overflow.  For example, ccos (0.75 + 710.5 * I) wrongly
returns Inf - Inf * I, but both parts should be finite (slightly smaller than
DBL_MAX).

I'll send a patch.

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