This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/6759] New: atanh() gives wrong errno on ole error
- From: "mtk dot manpages at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 22 Jul 2008 14:23:17 -0000
- Subject: [Bug math/6759] New: atanh() gives wrong errno on ole error
- Reply-to: sourceware-bugzilla at sourceware dot org
According to POSIX.1, when atanh(1.0) or atanh(-1.0) produces a pole error,
errno should be set to ERANGE. However, glibc (2.8, SUSE 11.0) gives EDOM in
this case.
I guess the fix is to change the appropriate line for atanh()'s _POSIX_ behavior
in sysdeps/ieee754/k_standard.c?
--
Summary: atanh() gives wrong errno on ole error
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: math
AssignedTo: aj at suse dot de
ReportedBy: mtk dot manpages at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6759
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.