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/17964] New: [powerpc] sqrt inaccurate


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

            Bug ID: 17964
           Summary: [powerpc] sqrt inaccurate
           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
              Host: powerpc*-*-*

The version of sqrt (double) used for powerpc when _ARCH_PPCSQ is not defined
is inaccurate even for round-to-nearest, e.g.:

Failure: Test: sqrt (0x1.33b43b08p-1016)
Result:
 is:          1.30830442161170808105e-153   0x1.18a9f607e17020000000p-508
 should be:   1.30830442161170781607e-153   0x1.18a9f607e17010000000p-508
 difference:  2.64973491368899045401e-169   0x1.00000000000000000000p-560
 ulp       :  1.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]