diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-11-20 17:40:33 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-11-20 17:40:33 -0500 |
commit | 46db37289f917e23877a0e0df88cbb150805bc97 (patch) | |
tree | e39e35854721b6912e3484207aeba5991dbc9ed6 /arch/x86_64/syscall_arch.h | |
parent | d8e8f1464cb02d6a62f01c7153ca4d7b0cd5c5e6 (diff) | |
download | musl-46db37289f917e23877a0e0df88cbb150805bc97.tar.gz |
write floating point limit constants to 21 significant decimal places
this is enough to produce the correct value even if the constant is
interpreted as 80-bit extended precision, which matters on archs with
excess precision (FLT_EVAL_METHOD==2) under at least some
interpretations of the C standard. the shorter representations, while
correct if converted to the nominal precision at translation time,
could produce an incorrect value at extended precision, yielding
results such as (double)DBL_MAX != DBL_MAX.
Diffstat (limited to 'arch/x86_64/syscall_arch.h')
0 files changed, 0 insertions, 0 deletions