aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-18 00:20:28 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-18 00:20:28 +0000
commitddad941ea4bd020f6af4174822f991b38872bb9b (patch)
tree185e2888795dd675caca111500360b85b4502144
parent2edfd87c4489642651d52d0d18ac3eeb4aa7ca1a (diff)
downloadglibc-ddad941ea4bd020f6af4174822f991b38872bb9b.tar
glibc-ddad941ea4bd020f6af4174822f991b38872bb9b.tar.gz
glibc-ddad941ea4bd020f6af4174822f991b38872bb9b.tar.bz2
glibc-ddad941ea4bd020f6af4174822f991b38872bb9b.zip
Update.
2001-04-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
-rw-r--r--ChangeLog4
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile9
-rw-r--r--math/libm-test.inc6
-rw-r--r--sysdeps/alpha/fpu/libm-test-ulps15
-rw-r--r--sysdeps/ia64/fpu/libm-test-ulps4
-rw-r--r--sysdeps/sparc/sparc32/fpu/libm-test-ulps6
-rw-r--r--sysdeps/sparc/sparc64/fpu/libm-test-ulps6
8 files changed, 43 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 05b7768a93..42a8f3b507 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-17 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
+
2001-04-17 David S. Miller <davem@redhat.com>
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 6f579267cd..435f172957 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: New file.
+
2001-04-16 Ulrich Drepper <drepper@redhat.com>
* signals.c (sigwait): NSIG is no signal number. Block all
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile b/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
new file mode 100644
index 0000000000..b5c34a9696
--- /dev/null
+++ b/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
@@ -0,0 +1,9 @@
+ifeq ($(subdir),linuxthreads)
+# gcc -m64 has /usr/lib64/crti.o hardcoded in the specs file, because otherwise
+# it would normally find 32bit crti.o.
+LDFLAGS-pthread.so += -specs=$(objpfx)specs
+before-compile += $(objpfx)specs
+postclean-generated += $(subdir)specs
+$(objpfx)specs:
+ $(CC) $(CFLAGS) $(CPPFLAGS) -dumpspecs | sed 's_/usr/lib64/crti.o_crti.o_g' > $@
+endif
diff --git a/math/libm-test.inc b/math/libm-test.inc
index c2a75b629f..0a5076024d 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -920,10 +920,10 @@ atan2_test (void)
TEST_ff_f (atan2, 0.7L, 1, 0.61072596438920861654375887649023613L);
TEST_ff_f (atan2, -0.7L, 1.0L, -0.61072596438920861654375887649023613L);
- TEST_ff_f (atan2, 0.7L, -1.0L, 2.5308666892005846219L);
- TEST_ff_f (atan2, -0.7L, -1.0L, -2.5308666892005846219L);
+ TEST_ff_f (atan2, 0.7L, -1.0L, 2.530866689200584621918884506789267L);
+ TEST_ff_f (atan2, -0.7L, -1.0L, -2.530866689200584621918884506789267L);
TEST_ff_f (atan2, 0.4L, 0.0003L, 1.5700463269355215717704032607580829L);
- TEST_ff_f (atan2, 1.4L, -0.93L, 2.1571487668237843755L);
+ TEST_ff_f (atan2, 1.4L, -0.93L, 2.1571487668237843754887415992772736L);
END (atan2);
}
diff --git a/sysdeps/alpha/fpu/libm-test-ulps b/sysdeps/alpha/fpu/libm-test-ulps
index 5169a3e763..6d664c8a53 100644
--- a/sysdeps/alpha/fpu/libm-test-ulps
+++ b/sysdeps/alpha/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: 3
+ifloat: 3
+
Function: "atanh":
double: 1
idouble: 1
diff --git a/sysdeps/ia64/fpu/libm-test-ulps b/sysdeps/ia64/fpu/libm-test-ulps
index 464681b6cf..5df69269be 100644
--- a/sysdeps/ia64/fpu/libm-test-ulps
+++ b/sysdeps/ia64/fpu/libm-test-ulps
@@ -75,8 +75,8 @@ double: 1
float: 7
idouble: 1
ifloat: 7
-ildouble: 6
-ldouble: 6
+ildouble: 7
+ldouble: 7
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 02476d4014..fa0177f607 100644
--- a/sysdeps/sparc/sparc32/fpu/libm-test-ulps
+++ b/sysdeps/sparc/sparc32/fpu/libm-test-ulps
@@ -19,13 +19,13 @@ double: 1
idouble: 1
# atan2
-Test "atan2 (0.7, -1.0) == 2.5308666892005846219":
+Test "atan2 (0.7, -1.0) == 2.530866689200584621918884506789267":
float: 3.0000
ifloat: 3.0000
-Test "atan2 (-0.7, -1.0) == -2.5308666892005846219":
+Test "atan2 (-0.7, -1.0) == -2.530866689200584621918884506789267":
float: 3.0000
ifloat: 3.0000
-Test "atan2 (1.4, -0.93) == 2.1571487668237843755":
+Test "atan2 (1.4, -0.93) == 2.1571487668237843754887415992772736":
float: 4.0000
ifloat: 4.0000
Function: "atan2":
diff --git a/sysdeps/sparc/sparc64/fpu/libm-test-ulps b/sysdeps/sparc/sparc64/fpu/libm-test-ulps
index c2ac22d14f..13c0e0bb64 100644
--- a/sysdeps/sparc/sparc64/fpu/libm-test-ulps
+++ b/sysdeps/sparc/sparc64/fpu/libm-test-ulps
@@ -32,13 +32,13 @@ double: 1
idouble: 1
# atan2
-Test "atan2 (0.7, -1.0) == 2.5308666892005846219":
+Test "atan2 (0.7, -1.0) == 2.530866689200584621918884506789267":
float: 3.0000
ifloat: 3.0000
-Test "atan2 (-0.7, -1.0) == -2.5308666892005846219":
+Test "atan2 (-0.7, -1.0) == -2.530866689200584621918884506789267":
float: 3.0000
ifloat: 3.0000
-Test "atan2 (1.4, -0.93) == 2.1571487668237843755":
+Test "atan2 (1.4, -0.93) == 2.1571487668237843754887415992772736":
float: 4.0000
ifloat: 4.0000
Function: "atan2":