aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-05-09 17:59:37 -0500
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-05-25 13:33:36 -0500
commit1ced34c00a0aa26dca5aab811a967c1e52c33fe9 (patch)
treec08873d06a2c935f555d7b03fb84674af813cc7d /ChangeLog
parentb4d80349bb8b91fd64d6e860af5c0bd503b15f97 (diff)
downloadglibc-1ced34c00a0aa26dca5aab811a967c1e52c33fe9.tar.xz
glibc-1ced34c00a0aa26dca5aab811a967c1e52c33fe9.zip
Refactor tst-strtod-round.c for type-generic-ness
Reduce much of the redundancy in this file, and attempt to coral the type specific stuff to ease adding an new type.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog42
1 files changed, 42 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 89c2a9c0f5..2a4cf83228 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,45 @@
+2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
+
+ * stdlib/gen-tst-strtod-round.c: Add backslash to
+ compile command in comment.
+ (printfp): Remove the literal suffix, and define an infinite
+ value as INF to avoid expansion clash with INFINITY.
+ (round_str): Remove the literal suffix.
+ (round_for_all): Likewise, remove the now duplicate ldbl-64
+ entry, and remove some magic constants.
+
+ * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
+ duplication. Remove duplicate dbl-64 and ldbl-64 entries.
+ (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
+ (_CONCAT): New macro.
+ (CONCAT): Likewise.
+ (CHOOSE_ld): Likewise.
+ (CHOOSE_f): Likewise.
+ (CHOOSE_d): Likewise.
+ (FTYPE_MEMBER): Likewise.
+ (BOOL_MEMBER): Likewise.
+ (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
+ (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
+ (_XNTRY): Likewise.
+ (XNTRY): Likewise.
+ (_ENTRY): Likewise.
+ (ENTRY): Likewise.
+ (test_exactness): Generate members via macro.
+ (test_results): Likewise.
+ (test): Update members.
+ (TEST): Redefine using new macros.
+ (INF): New macro.
+ (fetestmodes): New structure.
+ (do_test): Refactor to be type generic.
+ (test_in_one_mode): Refactor duplicate code into
+ (GEN_ONE_TEST): New macro.
+
+ * stdlib/tst-strtod-round-data.h: Regenerate.
+
+ * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
+ Extend to pass additional arbitrary parameters to
+ generators.
+
2016-05-25 Joseph Myers <joseph@codesourcery.com>
[BZ #15479]