Description: system: set second-largest-FP from std::numeric_limits System::get_second_largest <(float|double)> is as transportable as reinterpret_cast , that is, NOT. As suggested in gsltmplt.web , it is replaced with std::numeric_limits<(float|double)>::max() . Origin: debian Author: Jerome Benoit Last-Update: 2015-11-23 --- a/src/main.web +++ b/src/main.web @@ -1032,10 +1032,20 @@ @; if (ldf_real_float) - MAX_REAL = System::get_second_largest(FLT_MAX, false); + MAX_REAL = +#if 0 + System::get_second_largest(FLT_MAX, false); +#else + std::numeric_limits::max(); +#endif else if (ldf_real_double) - MAX_REAL = System::get_second_largest(DBL_MAX, false); - + MAX_REAL = +#if 0 + System::get_second_largest(DBL_MAX, false); +#else + std::numeric_limits::max(); +#endif + MAX_REAL_SQRT = sqrt(MAX_REAL); cerr.setf(ios::fixed, ios::floatfield);