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/22688] New: [powerpc-nofpu] remainderl wrong sign of zero result


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]