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/6788] expm1() does not set errno on overflow


------- Additional Comments From mtk dot manpages at gmail dot com  2008-07-31 08:57 -------
Created an attachment (id=2853)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2853&action=view)
test program

Sample run demonstrating problem (note that raising FE_INVALID here is probably
also a bug):

$ /tmp/mt_expm1 1e5
errno == 0
fetestexcept() says:  FE_INVALID FE_OVERFLOW FE_INEXACT
expm1(1.00000000000000000e+05)=nan
0 FE_OVERFLOW nan


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6788

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