aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-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
3 files changed, 45 insertions, 0 deletions
diff --git a/sysdeps/mips/fpu/libm-test-ulps b/sysdeps/mips/fpu/libm-test-ulps
index 78cedbc..d7711e5 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 ee0eaa5..c1463c9 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 644a438..3a4c8a1 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