aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-06-08 14:28:07 -0500
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-06-08 14:28:25 -0500
commit89385134849a9a4aa66f5b2ebaedaad7d63a11db (patch)
tree4e39479e8e788091a98a3864b3015249d454acca /ChangeLog
parent1e8a8875d69e36d2890b223ffe8853a8ff0c9512 (diff)
downloadglibc-89385134849a9a4aa66f5b2ebaedaad7d63a11db.tar
glibc-89385134849a9a4aa66f5b2ebaedaad7d63a11db.tar.gz
glibc-89385134849a9a4aa66f5b2ebaedaad7d63a11db.tar.bz2
glibc-89385134849a9a4aa66f5b2ebaedaad7d63a11db.zip
Apply LIT(x) to floating point literals in libm-test.c
With the exception of the second argument of nexttoward, any suffixes should be stripped from the test input, and the macro LIT(x) should be applied to use the correct suffix for the type being tested. This adds a new argument type "j" to gen-test-libm.pl to signify an argument to a test input which does not require fixup. The test cases of nexttoward have been updated to use this new feature. This applies post-processing to all of the test inputs through gen-libm-test.pl to strip literal suffixes and apply the LIT(x) macro, with one exception stated above. This seems a bit cleaner than tossing the macro onto everything, albeit slightly more obfuscated.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6ceb2dfeec..924f6fd0e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
+
+ * math/gen-libm-test.pl: (apply_lit): New subroutine.
+ (parse_args): Strip C suffix from floating point literals
+ typed with 'f' and wrap them with LIT().
+
+ * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
+ (test_ff_f_data_nexttoward): Rename to
+ (test_fj_f_data): New struct.
+ (nexttoward_test_data): Relabel tests as
+ TEST_fj_f instead of TEST_ff_f.
+
2016-06-08 Florian Weimer <fweimer@redhat.com>
Emacs bug 23726.