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/18593] New: csin, csinh bad overflow results in directed rounding modes


https://sourceware.org/bugzilla/show_bug.cgi?id=18593

            Bug ID: 18593
           Summary: csin, csinh bad overflow results in directed rounding
                    modes
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

csin and csinh can produce bad results when overflowing in directed rounding
modes.  E.g., for float on x86_64:

Failure: Test: Real part of: csin_downward (-0xcp-4 - 0x2.c5d4p+12 i)
Result:
 is:         -3.40282346638528859812e+38  -0x1.fffffe00000000000000p+127
 should be:  -inf  -inf

Failure: Test: Real part of: csinh_downward (-0x2.c5d4p+12 - 0xcp-4 i)
Result:
 is:         -3.40282346638528859812e+38  -0x1.fffffe00000000000000p+127
 should be:  -inf  -inf

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