[PATCHv2 0/6] Refactor several strtod tests to support more types

Paul E. Murphy murphyp@linux.vnet.ibm.com
Tue May 17 22:53:00 GMT 2016


This applies the cleanups requested in the first patch series.  I've also
added a sixth patch to make the output of gen-tst-strtod-round.c type
generic.

NOTE: patch 4 and 6 require some extra steps to apply. They apply changes
to the generated code which otherwise substantially bloats the patches.
Please regard the comments I have added to them when applying.

Paul E. Murphy (6):
  Refactor bug-strtod.c to better test new types.
  Refactor bug-strtod2.c to be type generic
  Refactor tst-strtod6.c
  Refactor tst-strtod-round.c
  Refactor tst-strtod-round.c for type-generic-ness
  Refactor tst-strtod-round-data.h to avoid adding a type suffix

 stdlib/bug-strtod.c                                |   103 +-
 stdlib/bug-strtod2.c                               |    47 +-
 stdlib/gen-tst-strtod-round.c                      |    89 +-
 ...{tst-strtod-round.c => tst-strtod-round-data.h} |  8140 ++++++------
 stdlib/tst-strtod-round.c                          | 12563 +------------------
 stdlib/tst-strtod.h                                |   146 +
 stdlib/tst-strtod6.c                               |    99 +-
 7 files changed, 4326 insertions(+), 16861 deletions(-)
 copy stdlib/{tst-strtod-round.c => tst-strtod-round-data.h} (86%)
 create mode 100644 stdlib/tst-strtod.h

-- 
2.4.11



More information about the Libc-alpha mailing list