about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/mips/fpu/libm-test-ulps15
-rw-r--r--sysdeps/s390/fpu/libm-test-ulps15
-rw-r--r--sysdeps/sh/sh4/fpu/libm-test-ulps15
4 files changed, 48 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index dda6e6e80f..3c43835067 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
 
 	* sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
+	* sysdeps/s390/fpu/libm-test-ulps: Likewise.
+	* sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
+	* sysdeps/mips/fpu/libm-test-ulps: Likewise.
 
 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
 
diff --git a/sysdeps/mips/fpu/libm-test-ulps b/sysdeps/mips/fpu/libm-test-ulps
index 78cedbcb2e..d7711e5558 100644
--- a/sysdeps/mips/fpu/libm-test-ulps
+++ b/sysdeps/mips/fpu/libm-test-ulps
@@ -13,6 +13,17 @@ float: 2
 idouble: 1
 ifloat: 2
 
+# atan2
+Test "atan2 (0.7, -1.0) == 2.530866689200584621918884506789267":
+float: 3
+ifloat: 3
+Test "atan2 (-0.7, -1.0) == -2.530866689200584621918884506789267":
+float: 3
+ifloat: 3
+Test "atan2 (1.4, -0.93) == 2.1571487668237843754887415992772736":
+float: 4
+ifloat: 4
+
 # atanh
 Test "atanh (0.7) == 0.8673005276940531944":
 double: 1
@@ -758,6 +769,10 @@ float: 2
 idouble: 1
 ifloat: 2
 
+Function: "atan2":
+float: 4
+ifloat: 4
+
 Function: "atanh":
 double: 1
 idouble: 1
diff --git a/sysdeps/s390/fpu/libm-test-ulps b/sysdeps/s390/fpu/libm-test-ulps
index ee0eaa5dfa..c1463c92d8 100644
--- a/sysdeps/s390/fpu/libm-test-ulps
+++ b/sysdeps/s390/fpu/libm-test-ulps
@@ -18,6 +18,17 @@ float: 2
 idouble: 1
 ifloat: 2
 
+# atan2
+Test "atan2 (0.7, -1.0) == 2.530866689200584621918884506789267":
+float: 3
+ifloat: 3
+Test "atan2 (-0.7, -1.0) == -2.530866689200584621918884506789267":
+float: 3
+ifloat: 3
+Test "atan2 (1.4, -0.93) == 2.1571487668237843754887415992772736":
+float: 4
+ifloat: 4
+
 # atanh
 Test "atanh (0.7) == 0.8673005276940531944":
 double: 1
@@ -792,6 +803,10 @@ float: 2
 idouble: 1
 ifloat: 2
 
+Function: "atan2":
+float: 4
+ifloat: 4
+
 Function: "atanh":
 double: 1
 idouble: 1
diff --git a/sysdeps/sh/sh4/fpu/libm-test-ulps b/sysdeps/sh/sh4/fpu/libm-test-ulps
index 644a438c6a..3a4c8a1695 100644
--- a/sysdeps/sh/sh4/fpu/libm-test-ulps
+++ b/sysdeps/sh/sh4/fpu/libm-test-ulps
@@ -13,6 +13,17 @@ float: 2
 idouble: 1
 ifloat: 2
 
+# atan2
+Test "atan2 (0.7, -1.0) == 2.530866689200584621918884506789267":
+float: 3
+ifloat: 3
+Test "atan2 (-0.7, -1.0) == -2.530866689200584621918884506789267":
+float: 3
+ifloat: 3
+Test "atan2 (1.4, -0.93) == 2.1571487668237843754887415992772736":
+float: 4
+ifloat: 4
+
 # atanh
 Test "atanh (0.7) == 0.8673005276940531944":
 double: 1
@@ -758,6 +769,10 @@ float: 2
 idouble: 1
 ifloat: 2
 
+Function: "atan2":
+float: 4
+ifloat: 4
+
 Function: "atanh":
 double: 1
 idouble: 1