aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-17 21:22:45 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-17 21:22:45 +0000
commit2edfd87c4489642651d52d0d18ac3eeb4aa7ca1a (patch)
tree3009571f94fc2997bec77ddae5eda576bb616a7d /sysdeps
parent33e885db540cbe0d0363f61c40429ea749e47831 (diff)
downloadglibc-2edfd87c4489642651d52d0d18ac3eeb4aa7ca1a.zip
glibc-2edfd87c4489642651d52d0d18ac3eeb4aa7ca1a.tar.gz
glibc-2edfd87c4489642651d52d0d18ac3eeb4aa7ca1a.tar.bz2
Update.
2001-04-17 David S. Miller <davem@redhat.com> * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps4
-rw-r--r--sysdeps/sparc/sparc32/fpu/libm-test-ulps14
-rw-r--r--sysdeps/sparc/sparc64/fpu/libm-test-ulps14
3 files changed, 30 insertions, 2 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index 6dd00aa..5e58894 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -99,8 +99,8 @@ double: 1
float: 4
idouble: 1
ifloat: 4
-ildouble: 5
-ldouble: 5
+ildouble: 6
+ldouble: 6
Test "Imaginary part of: cacosh (-2 - 3 i) == -1.9833870299165354323470769028940395 + 2.1414491111159960199416055713254211 i":
double: 1
float: 4
diff --git a/sysdeps/sparc/sparc32/fpu/libm-test-ulps b/sysdeps/sparc/sparc32/fpu/libm-test-ulps
index 39064eb..02476d4 100644
--- a/sysdeps/sparc/sparc32/fpu/libm-test-ulps
+++ b/sysdeps/sparc/sparc32/fpu/libm-test-ulps
@@ -18,6 +18,20 @@ Test "atanh (0.7) == 0.8673005276940531944":
double: 1
idouble: 1
+# atan2
+Test "atan2 (0.7, -1.0) == 2.5308666892005846219":
+float: 3.0000
+ifloat: 3.0000
+Test "atan2 (-0.7, -1.0) == -2.5308666892005846219":
+float: 3.0000
+ifloat: 3.0000
+Test "atan2 (1.4, -0.93) == 2.1571487668237843755":
+float: 4.0000
+ifloat: 4.0000
+Function: "atan2":
+float: 4.0000
+ifloat: 4.0000
+
# cabs
Test "cabs (-0.7 + 12.4 i) == 12.419742348374220601176836866763271":
float: 1
diff --git a/sysdeps/sparc/sparc64/fpu/libm-test-ulps b/sysdeps/sparc/sparc64/fpu/libm-test-ulps
index cd8ffb3..c2ac22d 100644
--- a/sysdeps/sparc/sparc64/fpu/libm-test-ulps
+++ b/sysdeps/sparc/sparc64/fpu/libm-test-ulps
@@ -31,6 +31,20 @@ Test "atanh (0.7) == 0.8673005276940531944":
double: 1
idouble: 1
+# atan2
+Test "atan2 (0.7, -1.0) == 2.5308666892005846219":
+float: 3.0000
+ifloat: 3.0000
+Test "atan2 (-0.7, -1.0) == -2.5308666892005846219":
+float: 3.0000
+ifloat: 3.0000
+Test "atan2 (1.4, -0.93) == 2.1571487668237843755":
+float: 4.0000
+ifloat: 4.0000
+Function: "atan2":
+float: 4.0000
+ifloat: 4.0000
+
# cabs
Test "cabs (-0.7 + 12.4 i) == 12.419742348374220601176836866763271":
float: 1