2001-04-17  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
This commit is contained in:
Ulrich Drepper 2001-04-18 00:20:28 +00:00
parent 2edfd87c44
commit ddad941ea4
8 changed files with 43 additions and 11 deletions

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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);
}

View File

@ -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

View File

@ -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

View File

@ -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":

View File

@ -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":