[Bug math/22674] New: alpha: fmax, fmin sNAN handling
adhemerval.zanella at linaro dot org
sourceware-bugzilla@sourceware.org
Thu Jan 4 19:15:00 GMT 2018
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.
More information about the Glibc-bugs
mailing list