about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-05-14 21:00:56 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-05-14 21:00:56 +0000
commitf71172e551d436f29bb5f2e53ceea2c92e946866 (patch)
tree993a154fe18a86f59b63bd844c09acfe129ee174
parent8cfa635ab822caf5a441eaf33ac9a8e73a14029f (diff)
downloadglibc-f71172e551d436f29bb5f2e53ceea2c92e946866.tar.gz
glibc-f71172e551d436f29bb5f2e53ceea2c92e946866.tar.xz
glibc-f71172e551d436f29bb5f2e53ceea2c92e946866.zip
Correct types of fields in libm-test.inc structures.
-rw-r--r--ChangeLog4
-rw-r--r--math/libm-test.inc4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 209b7972bf..df8da2ba26 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
 
+	* math/libm-test.inc (struct test_fF_f1_data): Change type of
+	extra_test to int.
+	(struct test_f_i_data): Change type of max_ulp to int.
+
 	* math/libm-test.inc (test_ffI_f1_data): New type.
 	(RUN_TEST_LOOP_ffI_f1): New macro.
 	(remquo_test_data): New variable.
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 68013bec7a..d0e310151a 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -956,7 +956,7 @@ struct test_fF_f1_data
   int exceptions;
   const char *extra_name;
   FLOAT extra_init;
-  FLOAT extra_test;
+  int extra_test;
   FLOAT extra_expected;
   FLOAT extra_ulp;
 };
@@ -986,7 +986,7 @@ struct test_f_i_data
   const char *test_name;
   FLOAT arg;
   int expected;
-  FLOAT max_ulp;
+  int max_ulp;
   int exceptions;
 };