This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/16521] New: Missing underflow exception from exp2
- From: "zimmerma+gcc at loria dot fr" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 02 Feb 2014 20:25:29 +0000
- Subject: [Bug math/16521] New: Missing underflow exception from exp2
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16521
Bug ID: 16521
Summary: Missing underflow exception from exp2
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: zimmerma+gcc at loria dot fr
Created attachment 7386
--> https://sourceware.org/bugzilla/attachment.cgi?id=7386&action=edit
test program
on x86_64 I get with the attached program:
GNU libc version: 2.18.90
GNU libc release: development
x=-0x1.f8002ep+6 (-1.260001754e+02)
libc: exp2f(x)=0x1.fff01p-127 (1.175351419e-38) underflow=0
mpfr: exp2f(x)=0x1.fff01p-127 (1.175351419e-38)
ulp difference: 0.000000
Since the result 0x1.fff01p-127 is below the smallest normal number 1p-126, we
should have an underflow exception.
--
You are receiving this mail because:
You are on the CC list for the bug.