|
Sources Bugzilla – Full Text Bug Listing |
| Summary: | erfc() does not set errno for underflow | ||
|---|---|---|---|
| Product: | glibc | Reporter: | Michael Kerrisk <mtk.manpages> |
| Component: | math | Assignee: | Not yet assigned to anyone <unassigned> |
| Status: | NEW --- | ||
| Severity: | normal | CC: | glibc-bugs |
| Priority: | P2 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | ||
| Attachments: | test program | ||
|
Description
Michael Kerrisk
2008-07-30 14:52:55 UTC
Created attachment 2851 [details]
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
Confirmed with current sources on both x86 and x86_64. |