about summary refs log tree commit diff
path: root/math/libm-test.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-07 00:02:14 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-07 00:02:14 +0000
commit9a8fcca0b33c26759134a545ac45251df53418a3 (patch)
tree981351d75ac1c612d7f356b0438ec5f1a3227c12 /math/libm-test.c
parente0082312bcfdce398099d58add30cc02b79f129b (diff)
downloadglibc-9a8fcca0b33c26759134a545ac45251df53418a3.tar.gz
glibc-9a8fcca0b33c26759134a545ac45251df53418a3.tar.xz
glibc-9a8fcca0b33c26759134a545ac45251df53418a3.zip
Update.
	* sysdeps/unix/sysv/linux/kernel-features.h: Define
	__ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
	* sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
	SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.

	* sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
	* sysdeps/libm-ieee754/w_j0f.c: Likewise.
	* sysdeps/libm-ieee754/w_j0l.c: Likewise.
	* sysdeps/libm-ieee754/w_j1.c: Likewise.
	* sysdeps/libm-ieee754/w_j1f.c: Likewise.
	* sysdeps/libm-ieee754/w_j1l.c: Likewise.
	* sysdeps/libm-ieee754/w_jn.c: Likewise.
	* sysdeps/libm-ieee754/w_jnf.c: Likewise.
	* sysdeps/libm-ieee754/w_jnl.c: Likewise.

	* stdio-common.c: Correct typos.

	* math/libm-test.c (jn_test): Adjust delta.
	(y1_test): Likewise.
	(yn_test): Likewise.

	* elf/do-lookup.h: It should never happen that if we expect a versioned
	symbol from a file the file has no version table.  This should have
	been checked in dl-version.c.
	* elf/dl-lookup.c: Include assert.h.
Diffstat (limited to 'math/libm-test.c')
-rw-r--r--math/libm-test.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/math/libm-test.c b/math/libm-test.c
index 49cce03d00..3e5033094c 100644
--- a/math/libm-test.c
+++ b/math/libm-test.c
@@ -5618,7 +5618,7 @@ jn_test (void)
 	     CHOOSE(0, 0, 3e-17));
   check ("jn (10, 0) = 0", FUNC(jn) (10, 0.0), 0.0);
   check_eps ("jn (10, 0.1) = 2.6905...*10^-20", FUNC(jn) (10, 0.1), 0.26905328954342155795e-19,
-	     CHOOSE(0, 2e-35, 2e-27));
+	     CHOOSE(0, 2e-35, 4e-27));
   check_eps ("jn (10, 0.7) = 7.517...*10^-12", FUNC(jn) (10, 0.7), 0.75175911502153953928e-11,
 	     CHOOSE(0, 7e-27, 9e-19));
   check_eps ("jn (10, 1.0) = 2.630...*10^-11", FUNC(jn) (10, 1.0), 0.26306151236874532070e-9,
@@ -5682,7 +5682,8 @@ y1_test (void)
 	     CHOOSE(0, 3e-16, 0));
   check_eps ("y1 (1.0) = -0.78121...", FUNC(y1) (1.0), -0.78121282130028871655,
 	     CHOOSE(0, 2e-16, 0));
-  check ("y1 (1.5) = -0.41230...", FUNC(y1) (1.5), -0.41230862697391129595);
+  check_eps ("y1 (1.5) = -0.41230...", FUNC(y1) (1.5), -0.41230862697391129595,
+	     CHOOSE (0, 0, 3e-8));
   check_eps ("y1 (2.0) = -0.10703...", FUNC(y1) (2.0), -0.10703243154093754689,
 	     CHOOSE(0, 2e-17, 1.5e-8));
   check_eps ("y1 (8.0) = -0.15806...", FUNC(y1) (8.0), -0.15806046173124749426,
@@ -5735,7 +5736,8 @@ yn_test (void)
 	     CHOOSE(0, 3e-16, 0));
   check_eps ("yn (1, 1.0) = -0.78121...", FUNC(yn) (1, 1.0), -0.78121282130028871655,
 	     CHOOSE(0, 2e-16, 0));
-  check ("yn (1, 1.5) = -0.41230...", FUNC(yn) (1, 1.5), -0.41230862697391129595);
+  check_eps ("yn (1, 1.5) = -0.41230...", FUNC(yn) (1, 1.5), -0.41230862697391129595,
+	     CHOOSE (0, 0, 3e-8));
   check_eps ("yn (1, 2.0) = -0.10703...", FUNC(yn) (1, 2.0), -0.10703243154093754689,
 	     CHOOSE(0, 2e-17, 2e-8));
   check_eps ("yn (1, 8.0) = -0.15806...", FUNC(yn) (1, 8.0), -0.15806046173124749426,
@@ -5764,7 +5766,7 @@ yn_test (void)
   check_eps ("yn (10, 0.1) = -1.183...*10^18", FUNC(yn) (10, 0.1), -0.11831335132045197885e19,
 	     CHOOSE(0, 6e2, 2e11));
   check_eps ("yn (10, 0.7) = -4.244...*10^9", FUNC(yn) (10, 0.7), -0.42447194260703866924e10,
-	     CHOOSE(0, 3e-6, 6e2));
+	     CHOOSE(0, 3e-6, 8e2));
   check_eps ("yn (10, 1.0) = -1.216...*10^8", FUNC(yn) (10, 1.0), -0.12161801427868918929e9,
 	     CHOOSE(0, 0, 9));
   check_eps ("yn (10, 2.0) = -129184.5...", FUNC(yn) (10, 2.0), -129184.54220803928264,