This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/22674] New: alpha: fmax, fmin sNAN handling
- From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 04 Jan 2018 19:15:00 +0000
- Subject: [Bug math/22674] New: alpha: fmax, fmin sNAN handling
- Auto-submitted: auto-generated
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.