This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/6814] expm1() raises bogus invalid exception


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]