This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/6778] expm1() raises bogus underflow exception for -large
- From: "mtk dot manpages at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 31 Jul 2008 08:29:07 -0000
- Subject: [Bug math/6778] expm1() raises bogus underflow exception for -large
- References: <20080730110527.6778.mtk.manpages@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mtk dot manpages at gmail dot com 2008-07-31 08:29 -------
Created an attachment (id=2843)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2843&action=view)
test program
Example runs showing problem:
$ /tmp/mt_expm1 -- -1e5
errno == 0
fetestexcept() says: FE_UNDERFLOW FE_INEXACT
expm1(-1.00000000000000000e+05)=-1.00000000000000000e+00
0 FE_UNDERFLOW normal
$ /tmp/mt_expm1 -- -1e308
errno == 0
fetestexcept() says: FE_UNDERFLOW FE_INEXACT
expm1(-1.00000000000000001e+308)=-1.00000000000000000e+00
0 FE_UNDERFLOW normal
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6778
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.