|author||Rich Felker <firstname.lastname@example.org>||2013-11-26 23:26:37 -0500|
|committer||Rich Felker <email@example.com>||2013-11-26 23:26:37 -0500|
adjust fallback INFINITY definition for FLT_EVAL_METHOD==2 case
on archs with excess precision, the floating point constant 1e40f may be evaluated such that it does not actually produce an infinity. 1e5000f is sufficiently large to produce an infinity for all supported floating point formats. note that this definition of INFINITY is only used for old or non-GNUC compilers anyway; despite being a portable, conforming definition, it leads to erroneous warnings on many compilers and thus using the builtin is preferred.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions