diff options
author | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-06-08 14:28:07 -0500 |
---|---|---|
committer | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-06-08 14:28:25 -0500 |
commit | 89385134849a9a4aa66f5b2ebaedaad7d63a11db (patch) | |
tree | 4e39479e8e788091a98a3864b3015249d454acca /elf/tst-initordera3.c | |
parent | 1e8a8875d69e36d2890b223ffe8853a8ff0c9512 (diff) | |
download | glibc-89385134849a9a4aa66f5b2ebaedaad7d63a11db.tar.gz glibc-89385134849a9a4aa66f5b2ebaedaad7d63a11db.tar.xz 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 'elf/tst-initordera3.c')
0 files changed, 0 insertions, 0 deletions