Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
2001-04-05  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
  • Loading branch information
Ulrich Drepper committed Apr 5, 2001
1 parent e2027cc commit 96dd1a8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2001-04-05 Ulrich Drepper <drepper@redhat.com>

* sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.

2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
Expand Down
20 changes: 16 additions & 4 deletions sysdeps/i386/fpu/libm-test-ulps
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,22 @@ ldouble: 1
ildouble: 1

# asin
Test "asin (0.5) == pi/6":
ldouble: 1
ildouble: 1
Test "asin (-0.5) == -pi/6":
ldouble: 1
ildouble: 1
Test "asin (1.0) == pi/2":
ldouble: 1
ildouble: 1
Test "asin (-1.0) == -pi/2":
ldouble: 1
ildouble: 1
Test "asin (0.7) == 0.77539749661075306374035335271498708":
double: 1
ildouble: 1147
ldouble: 1147
ldouble: 1
ildouble: 1

# asinh
Test "asinh (0.7) == 0.652666566082355786":
Expand Down Expand Up @@ -1146,8 +1158,8 @@ ldouble: 1

Function: "asin":
double: 1
ildouble: 1147
ldouble: 1147
ldouble: 1
ildouble: 1

Function: "asinh":
ildouble: 656
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/ieee754/ldbl-96/e_asinl.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ __ieee754_asinl (x)
ix = (ix << 16) | (i0 >> 16);
if (ix >= 0x3fff8000)
{ /* |x|>= 1 */
if (ix < 0x7fff0000 && ((i0 - 0x80000000) | i1) == 0)
if (ix == 0x3fff8000 && ((i0 - 0x80000000) | i1) == 0)
/* asin(1)=+-pi/2 with inexact */
return x * pio2_hi + x * pio2_lo;
return (x - x) / (x - x); /* asin(|x|>1) is NaN */
Expand Down

0 comments on commit 96dd1a8

Please sign in to comment.