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/16316] New: ldbl-96 hypotl (0, 0x1p-16445L) incorrect


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

            Bug ID: 16316
           Summary: ldbl-96 hypotl (0, 0x1p-16445L) incorrect
           Product: glibc
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org

On x86_64, hypotl (0, 0x1p-16445L) raises a spurious "invalid" exception and
returns infinity when it should return 0x1p-16445L with no exceptions beyond
optional inexact/underflow.

Failure: hypot (+0, 0x8p-16448): Exception "Invalid operation" set
Failure: Test: hypot (+0, 0x8p-16448)
Result:
 is:          inf   inf
 should be:   3.64519953188247460253e-4951   0x0.00000000000000100000p-16385

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