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/6778] expm1() raises bogus underflow exception for -large


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


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