This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCHv3 0/3] Refactor tst-strtod-round
- From: "Paul E. Murphy" <murphyp at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Date: Mon, 23 May 2016 17:18:27 -0500
- Subject: [PATCHv3 0/3] Refactor tst-strtod-round
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1463524479 dot git dot murphyp at linux dot vnet dot ibm dot com>
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