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/6759] New: atanh() gives wrong errno on ole error


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]