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/15497] New: PowerPC: hypotf invalid return for -INF


http://sourceware.org/bugzilla/show_bug.cgi?id=15497

             Bug #: 15497
           Summary: PowerPC: hypotf invalid return for -INF
           Product: glibc
           Version: 2.18
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: unassigned@sourceware.org
        ReportedBy: azanella@linux.vnet.ibm.com
    Classification: Unclassified


The following libm testcases fails on POWER6 or order machine:

Failure: Test: hypot (-inf, qNaN) == inf
Result:
 is:         qNaN
 should be:   inf   inf
Failure: Test: hypot (qNaN, -inf) == inf
Result:
 is:         qNaN
 should be:   inf   inf

This is due sysdeps/powerpc/fpu/e_hypotf.c does not handle correctly -INF input
and handle as NAN.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]