Skip to content

Commit

Permalink
* sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors in
Browse files Browse the repository at this point in the history
	atanh should set ERANGE.
  • Loading branch information
Ulrich Drepper committed Apr 27, 2009
1 parent 218555e commit 49768bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
2009-04-26 Ulrich Drepper <drepper@redhat.com>

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

[BZ #10087]
* elf/dl-runtime.c (_dl_fixup): Use DL_FIXUP_VALUE_ADDR to access
result of lookup to make call to implement STT_GNU_IFUNC.
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/ieee754/k_standard.c
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ static double zero = 0.0; /* used as const */
? "atanhf" : "atanhl");
exc.retval = x/zero; /* sign(x)*inf */
if (_LIB_VERSION == _POSIX_)
__set_errno (EDOM);
__set_errno (ERANGE);
else if (!matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("atanh: SING error\n", 18);
Expand Down

0 comments on commit 49768bb

Please sign in to comment.