about summary refs log tree commit diff
path: root/math/libm-test.inc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-12 09:30:32 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-12 09:30:32 +0000
commitadc37d7931ea14e21c9e457b7eb5198630bfd188 (patch)
tree79859d7c209a5b15ef6c4acfbd3db3600fe06a22 /math/libm-test.inc
parent0fc95b8219bc2c47c00b206f592a5ad1830c023a (diff)
downloadglibc-adc37d7931ea14e21c9e457b7eb5198630bfd188.tar.gz
glibc-adc37d7931ea14e21c9e457b7eb5198630bfd188.tar.xz
glibc-adc37d7931ea14e21c9e457b7eb5198630bfd188.zip
Update.
	* sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.

	* math/libm-test.inc (j0_test): Make expected results long double
	constants.
	(y0_test): Likewise.
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r--math/libm-test.inc30
1 files changed, 15 insertions, 15 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 76f9022f8e..6bbbff520b 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -2835,15 +2835,15 @@ j0_test (void)
   /* j0 is the Bessel function of the first kind of order 0 */
   TEST_f_f (j0, nan_value, nan_value);
   TEST_f_f (j0, plus_infty, 0);
-  TEST_f_f (j0, -1.0, 0.76519768655796655145);
+  TEST_f_f (j0, -1.0, 0.76519768655796655145L);
   TEST_f_f (j0, 0.0, 1.0);
-  TEST_f_f (j0, 0.1L, 0.99750156206604003228);
-  TEST_f_f (j0, 0.7L, 0.88120088860740528084);
-  TEST_f_f (j0, 1.0, 0.76519768655796655145);
-  TEST_f_f (j0, 1.5, 0.51182767173591812875);
-  TEST_f_f (j0, 2.0, 0.22389077914123566805);
-  TEST_f_f (j0, 8.0, 0.17165080713755390609);
-  TEST_f_f (j0, 10.0, -0.24593576445134833520);
+  TEST_f_f (j0, 0.1L, 0.99750156206604003228L);
+  TEST_f_f (j0, 0.7L, 0.88120088860740528084L);
+  TEST_f_f (j0, 1.0, 0.76519768655796655145L);
+  TEST_f_f (j0, 1.5, 0.51182767173591812875L);
+  TEST_f_f (j0, 2.0, 0.22389077914123566805L);
+  TEST_f_f (j0, 8.0, 0.17165080713755390609L);
+  TEST_f_f (j0, 10.0, -0.24593576445134833520L);
 
   END (j0);
 }
@@ -4015,13 +4015,13 @@ y0_test (void)
   TEST_f_f (y0, nan_value, nan_value);
   TEST_f_f (y0, plus_infty, 0);
 
-  TEST_f_f (y0, 0.1L, -1.5342386513503668441);
-  TEST_f_f (y0, 0.7L, -0.19066492933739506743);
-  TEST_f_f (y0, 1.0, 0.088256964215676957983);
-  TEST_f_f (y0, 1.5, 0.38244892379775884396);
-  TEST_f_f (y0, 2.0, 0.51037567264974511960);
-  TEST_f_f (y0, 8.0, 0.22352148938756622053);
-  TEST_f_f (y0, 10.0, 0.055671167283599391424);
+  TEST_f_f (y0, 0.1L, -1.5342386513503668441L);
+  TEST_f_f (y0, 0.7L, -0.19066492933739506743L);
+  TEST_f_f (y0, 1.0, 0.088256964215676957983L);
+  TEST_f_f (y0, 1.5, 0.38244892379775884396L);
+  TEST_f_f (y0, 2.0, 0.51037567264974511960L);
+  TEST_f_f (y0, 8.0, 0.22352148938756622053L);
+  TEST_f_f (y0, 10.0, 0.055671167283599391424L);
 
   END (y0);
 }