diff options
author | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-07-15 10:57:07 -0500 |
---|---|---|
committer | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-08-05 14:38:57 -0500 |
commit | d4cf1331007743c21e4f03603add48a107a6857d (patch) | |
tree | 079add94e814723052a046bdf3836a8fec58b9a0 /io/bits | |
parent | 89a12e6f8e0a9776ea52389c58bf77aba87fd243 (diff) | |
download | glibc-d4cf1331007743c21e4f03603add48a107a6857d.zip glibc-d4cf1331007743c21e4f03603add48a107a6857d.tar.gz glibc-d4cf1331007743c21e4f03603add48a107a6857d.tar.bz2 |
Improve gen-libm-test.pl LIT() application
When bootstrapping float128, this exposed a number of areas where
the L suffix is incorrectly applied to simple expressions when it
should be applied to each constant in the expression.
In order to stave off more macros in libm-test.inc, apply_lit is
made slightly more intelligent. It will now split expressions
based on space characters, and attempt to apply LIT() to each
token.
Having done this, there are numerous spacing issues within
libm-test.inc which have been fixed.
The above is problematic when the L real suffix is not the most
expressive modifier, and the compiler complains (i.e ppc64) or
silently truncates a value (i.e ppc64).
Diffstat (limited to 'io/bits')
0 files changed, 0 insertions, 0 deletions