This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/6814] expm1() raises bogus invalid exception
- From: "mtk dot manpages at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 4 Aug 2008 04:49:18 -0000
- Subject: [Bug math/6814] expm1() raises bogus invalid exception
- References: <20080804044139.6814.mtk.manpages@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mtk dot manpages at gmail dot com 2008-08-04 04:49 -------
$ /tmp/mt_expm1 1e5
errno == 0
fetestexcept() says: FE_INVALID FE_OVERFLOW FE_INEXACT
expm1(1.00000000000000000e+05)=nan
0 FE_OVERFLOW nan
$ /tmp/mt_expm1 1.00199970127e5
errno == 0
fetestexcept() says: FE_INVALID FE_OVERFLOW FE_INEXACT
expm1(1.00199970126999993e+05)=nan
0 FE_OVERFLOW nan
$ /tmp/mt_expm1 1.00199970128e5
errno == 0
fetestexcept() says: FE_OVERFLOW FE_INEXACT
expm1(1.00199970128000001e+05)=inf
0 FE_OVERFLOW +inf
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6814
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.