This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/16283] New: exp2 does not set errno on underflow
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 02 Dec 2013 18:32:37 +0000
- Subject: [Bug math/16283] New: exp2 does not set errno on underflow
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16283
Bug ID: 16283
Summary: exp2 does not set errno on underflow
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
exp2 does not set errno to ERANGE on underflow to 0 in at least some cases.
For float testing, this applies to at least the following on x86_64:
testing float (without inline functions)
Failure: exp2 (-0x4.01p+12): errno set to 0, expected 34 (ERANGE)
Failure: exp2 (-0x4.32p+8): errno set to 0, expected 34 (ERANGE)
Failure: exp2 (-0xf.424p+16): errno set to 0, expected 34 (ERANGE)
Failure: exp2 (-0xf.fffffp+124): errno set to 0, expected 34 (ERANGE)
--
You are receiving this mail because:
You are on the CC list for the bug.