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/22674] New: alpha: fmax, fmin sNAN handling


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

            Bug ID: 22674
           Summary: alpha: fmax, fmin sNAN handling
           Product: glibc
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: adhemerval.zanella at linaro dot org
  Target Milestone: ---

As for BZ#20947, alpha fmax and fmin mishandle sNaN inputs.  E.g., for double
on failures include (among many others):

esting double (without inline functions)
Failure: Test: fmax (0, sNaN)
Result:
 is:          0.0000000000000000e+00   0x0.0000000000000p+0
 should be:  qNaN
Failure: Test: fmax (0, -sNaN)
Result:
 is:          0.0000000000000000e+00   0x0.0000000000000p+0
 should be:  qNaN
[...]
Failure: Test: fmax (sNaN, 0)
Result:
 is:          0.0000000000000000e+00   0x0.0000000000000p+0
 should be:  qNaN
Failure: Test: fmax (-sNaN, 0)
Result:
 is:          0.0000000000000000e+00   0x0.0000000000000p+0
 should be:  qNaN
[...]
Failure: Test: fmax (inf, sNaN)
Result:
 is:          inf   inf
 should be:  qNaN
Failure: Test: fmax (inf, -sNaN)
Result:
 is:          inf   inf
 should be:  qNaN

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