about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-05-15 16:58:41 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-05-15 16:58:41 +0000
commitb861c6c4c95126758339f5684431f77352381f59 (patch)
tree97fa30370115b25c4ae34cf4c8d74764a3e3f8b2
parent86ee76a086527ac1041aee824937256c3af0a17f (diff)
downloadglibc-b861c6c4c95126758339f5684431f77352381f59.tar.gz
glibc-b861c6c4c95126758339f5684431f77352381f59.tar.xz
glibc-b861c6c4c95126758339f5684431f77352381f59.zip
Consistently use TEST_f_L in tests of llrint and llround.
-rw-r--r--ChangeLog8
-rw-r--r--math/libm-test.inc12
2 files changed, 14 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index c238afd937..d14d73e615 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
 
+	* math/libm-test.inc (llrint_test): Consistently use TEST_f_L
+	instead of TEST_f_l.
+	(llrint_test_tonearest): Likewise.
+	(llrint_test_towardzero): Likewise.
+	(llrint_test_downward): Likewise.
+	(llrint_test_upward): Likewise.
+	(llround_test): Likewise.
+
 	* math/libm-test.inc (struct test_f_i_data): Add comment.
 	(RUN_TEST_LOOP_f_b): New macro.
 	(RUN_TEST_LOOP_f_b_tg): Likewise.
diff --git a/math/libm-test.inc b/math/libm-test.inc
index f1e122d51b..af6d28c24d 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -10560,7 +10560,7 @@ llrint_test (void)
   TEST_f_L (llrint, 8388600.3L, 8388600);
   TEST_f_L (llrint, -8388600.3L, -8388600);
 
-  TEST_f_l (llrint, 1071930.0008, 1071930);
+  TEST_f_L (llrint, 1071930.0008, 1071930);
 
   /* Test boundary conditions.  */
   /* 0x1FFFFF */
@@ -10695,7 +10695,7 @@ llrint_test_tonearest (void)
       TEST_f_L (llrint, 8388600.3L, 8388600);
       TEST_f_L (llrint, -8388600.3L, -8388600);
 
-      TEST_f_l (llrint, 1071930.0008, 1071930);
+      TEST_f_L (llrint, 1071930.0008, 1071930);
 
       /* Test boundary conditions.  */
       /* 0x1FFFFF */
@@ -10833,7 +10833,7 @@ llrint_test_towardzero (void)
       TEST_f_L (llrint, 8388600.3L, 8388600);
       TEST_f_L (llrint, -8388600.3L, -8388600);
 
-      TEST_f_l (llrint, 1071930.0008, 1071930);
+      TEST_f_L (llrint, 1071930.0008, 1071930);
 
       /* Test boundary conditions.  */
       /* 0x1FFFFF */
@@ -10971,7 +10971,7 @@ llrint_test_downward (void)
       TEST_f_L (llrint, 8388600.3L, 8388600);
       TEST_f_L (llrint, -8388600.3L, -8388601);
 
-      TEST_f_l (llrint, 1071930.0008, 1071930);
+      TEST_f_L (llrint, 1071930.0008, 1071930);
 
       /* Test boundary conditions.  */
       /* 0x1FFFFF */
@@ -11105,7 +11105,7 @@ llrint_test_upward (void)
       TEST_f_L (llrint, 8388600.3L, 8388601);
       TEST_f_L (llrint, -8388600.3L, -8388600);
 #ifndef TEST_FLOAT
-      TEST_f_l (llrint, 1071930.0008, 1071931);
+      TEST_f_L (llrint, 1071930.0008, 1071931);
 #endif
       /* Test boundary conditions.  */
       /* 0x1FFFFF */
@@ -11505,7 +11505,7 @@ llround_test (void)
   TEST_f_L (llround, -1.5, -2);
   TEST_f_L (llround, 22514.5, 22515);
   TEST_f_L (llround, -22514.5, -22515);
-  TEST_f_l (llround, 1071930.0008, 1071930);
+  TEST_f_L (llround, 1071930.0008, 1071930);
 #ifndef TEST_FLOAT
   TEST_f_L (llround, 2097152.5, 2097153);
   TEST_f_L (llround, -2097152.5, -2097153);