aboutsummaryrefslogtreecommitdiff
path: root/src/math/tgamma.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/math/tgamma.c
parentiswspace: fix handling of 0 (diff)
downloadgrovel-46db37289f917e23877a0e0df88cbb150805bc97.tar.gz
grovel-46db37289f917e23877a0e0df88cbb150805bc97.tar.xz
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/math/tgamma.c')
0 files changed, 0 insertions, 0 deletions