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/6786] erfc() does not set errno for underflow


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

(I got the underflow value wrong in my initial report. I think 106.9 gives
underflow with the long double variant.  27 doies the trick for the double
version.)

Sample run showing problem:

$ /tmp/mt_erfc 27
errno == 0
fetestexcept() says:  FE_UNDERFLOW FE_INEXACT
erfc(2.70000000000000000e+01)=5.23704643935262924e-319
0 FE_UNDERFLOW subnormal


-- 


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

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