real.h
12.4 KB
-
real.c (real_maxval): New function to return the largest finite value… · 18c2511c
real.c (real_maxval): New function to return the largest finite value representable in a given mode (i.e. * real.c (real_maxval): New function to return the largest finite value representable in a given mode (i.e. FLT_MAX and DBL_MAX). * real.h (real_maxval): Prototype here. * fold-const.c (fold_inf_compare): Transform comparisons against +-Infinity into comparisons against DBL_MAX (or equivalent). * gcc.c-torture/execute/ieee/inf-2.c: New test case. From-SVN: r67112
Roger Sayle committed