summaryrefslogtreecommitdiff
path: root/src/time/__tz.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-11-20 17:40:33 -0500
committerRich Felker <dalias@aerifal.cx>2013-11-20 17:40:33 -0500
commit46db37289f917e23877a0e0df88cbb150805bc97 (patch)
treee39e35854721b6912e3484207aeba5991dbc9ed6 /src/time/__tz.c
parentd8e8f1464cb02d6a62f01c7153ca4d7b0cd5c5e6 (diff)
downloadmusl-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 'src/time/__tz.c')
0 files changed, 0 insertions, 0 deletions