[PATCHv3 0/3] Refactor tst-strtod-round
Paul E. Murphy
murphyp@linux.vnet.ibm.com
Mon May 23 22:57:00 GMT 2016
This patch series now focuses exclusively on updating tst-strtod-round.
Patch 1 updates gen-tst-strtod-round.c to generate a self contained
C file to simplify future updates to these test cases. In addition,
it updates the utility to take two argument, and input and output
file. This is similar to the gen-auto-libm-tests.pl.
Patch 2 simplifies and moves the type specific macros within
tst-strtod-round.c into tst-strtod.h.
Patch 3 updates gen-tst-strtod-round.c to avoid applying a
suffix. They are now explicitly applied within the TEST
macro to enable reuse of formats aliased to multiple types.
Note to reviewers:
* To keep patch 1 concise, I have removed the generated
changes. You will need to manually remove the test
object, and generate tst-strtod-round-data.h.
* To keep patch 3 concise, I have removed the generated
changes. Likewise, you will need to regenerate
tst-strtod-round-data.h.
Paul E. Murphy (3):
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/gen-tst-strtod-round.c | 106 +-
stdlib/tst-strtod-round-data.h | 12334 ++++++++++++++++++++++++++++++++++++++
stdlib/tst-strtod-round.c | 12563 +--------------------------------------
stdlib/tst-strtod.h | 96 +
4 files changed, 12560 insertions(+), 12539 deletions(-)
create mode 100644 stdlib/tst-strtod-round-data.h
--
2.4.11
More information about the Libc-alpha
mailing list