[Bug math/22688] New: [powerpc-nofpu] remainderl wrong sign of zero result

jsm28 at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Tue Jan 9 22:40:00 GMT 2018


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

            Bug ID: 22688
           Summary: [powerpc-nofpu] remainderl wrong sign of zero result
           Product: glibc
           Version: 2.26
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---
              Host: powerpc*-*-*

For soft-float powerpc, the remainderl function produces zero results with the
wrong sign for various inputs.  A representative example is:

Failure: Test: remainder (-2, 1)
Result:
 is:          0.00000000000000000000000000000000e+00  
0x0.000000000000000000000000000p+0
 should be:  -0.00000000000000000000000000000000e+00 
-0x0.000000000000000000000000000p+0
 difference:  0.00000000000000000000000000000000e+00  
0x0.000000000000000000000000000p+0
 ulp       :  0.0000
 max.ulp   :  0.0000

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list