Summary: | sin() does not set errno on domain error | ||
---|---|---|---|
Product: | glibc | Reporter: | Michael Kerrisk <mtk.manpages> |
Component: | math | Assignee: | Andreas Jaeger <aj> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | glibc-bugs |
Priority: | P2 | Flags: | fweimer:
security-
|
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Attachments: | test program |
Description
Michael Kerrisk
2008-07-30 11:44:44 UTC
Created attachment 2846 [details]
test program
sample run showing problem:
$ /tmp/mt_sin inf
errno == 0
fetestexcept() says: FE_INVALID
sin(inf)=nan
0 FE_INVALID nan
This bug was fixed in glibc 2.10. The man page is updated for man-pages-2.37. |