public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/6759] New: atanh() gives wrong errno on ole error
@ 2008-07-22 14:23 mtk dot manpages at gmail dot com
  2008-07-22 14:29 ` [Bug math/6759] atanh() gives wrong errno on pole error mtk dot manpages at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mtk dot manpages at gmail dot com @ 2008-07-22 14:23 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug math/6759] atanh() gives wrong errno on pole error
  2008-07-22 14:23 [Bug math/6759] New: atanh() gives wrong errno on ole error mtk dot manpages at gmail dot com
@ 2008-07-22 14:29 ` mtk dot manpages at gmail dot com
  2010-05-03  9:10 ` jan dot kratochvil at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: mtk dot manpages at gmail dot com @ 2008-07-22 14:29 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|atanh() gives wrong errno on|atanh() gives wrong errno on
                   |ole error                   |pole error


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug math/6759] atanh() gives wrong errno on pole error
  2008-07-22 14:23 [Bug math/6759] New: atanh() gives wrong errno on ole error mtk dot manpages at gmail dot com
  2008-07-22 14:29 ` [Bug math/6759] atanh() gives wrong errno on pole error mtk dot manpages at gmail dot com
@ 2010-05-03  9:10 ` jan dot kratochvil at redhat dot com
  2010-05-03  9:10 ` jan dot kratochvil at redhat dot com
  2010-09-11  6:49 ` mtk dot manpages at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-05-03  9:10 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jan dot kratochvil at redhat dot com  2010-05-03 09:09 -------
It seems to be fixed since glibc-2.10,
verified by: Ivana Varekova <varekova@redhat.com>

commit 49768bb93e4960a814563ee30213eaf36e6dcb48
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Mon Apr 27 04:01:16 2009 +0000

2009-04-26  Ulrich Drepper  <drepper@redhat.com>

        * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors in
        atanh should set ERANGE.

sysdeps/ieee754/k_standard.c
-                  __set_errno (EDOM);
+                  __set_errno (ERANGE);


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan dot kratochvil at redhat
                   |                            |dot com
         AssignedTo|aj at suse dot de           |drepper at redhat dot com
             Status|NEW                         |ASSIGNED


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug math/6759] atanh() gives wrong errno on pole error
  2008-07-22 14:23 [Bug math/6759] New: atanh() gives wrong errno on ole error mtk dot manpages at gmail dot com
  2008-07-22 14:29 ` [Bug math/6759] atanh() gives wrong errno on pole error mtk dot manpages at gmail dot com
  2010-05-03  9:10 ` jan dot kratochvil at redhat dot com
@ 2010-05-03  9:10 ` jan dot kratochvil at redhat dot com
  2010-09-11  6:49 ` mtk dot manpages at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-05-03  9:10 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jan dot kratochvil at redhat dot com  2010-05-03 09:10 -------
Found as fixed.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug math/6759] atanh() gives wrong errno on pole error
  2008-07-22 14:23 [Bug math/6759] New: atanh() gives wrong errno on ole error mtk dot manpages at gmail dot com
                   ` (2 preceding siblings ...)
  2010-05-03  9:10 ` jan dot kratochvil at redhat dot com
@ 2010-09-11  6:49 ` mtk dot manpages at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: mtk dot manpages at gmail dot com @ 2010-09-11  6:49 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From mtk dot manpages at gmail dot com  2010-09-11 06:49 -------
man page will be updated in man-pages-2.37

-- 


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-09-11  6:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-22 14:23 [Bug math/6759] New: atanh() gives wrong errno on ole error mtk dot manpages at gmail dot com
2008-07-22 14:29 ` [Bug math/6759] atanh() gives wrong errno on pole error mtk dot manpages at gmail dot com
2010-05-03  9:10 ` jan dot kratochvil at redhat dot com
2010-05-03  9:10 ` jan dot kratochvil at redhat dot com
2010-09-11  6:49 ` mtk dot manpages at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).