Commit d3d09886 by Richard Henderson Committed by Richard Henderson

std_limits.h (numeric_limits<T>::is_iec559): False if denormals are not supported.

        * include/std/std_limits.h (numeric_limits<T>::is_iec559): False
        if denormals are not supported.

From-SVN: r57595
parent f2d20802
2002-09-27 Richard Henderson <rth@redhat.com>
* config/os/hpux/cpu_limits.h: Remove.
* include/std/std_limits.h (numeric_limits<T>::is_iec559): False
if denormals are not supported.
2002-09-25 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (target_headers): Remove cpu_limits.h.
......
......@@ -911,7 +911,8 @@ namespace std
static float denorm_min() throw()
{ return __FLT_DENORM_MIN__; }
static const bool is_iec559 = has_infinity && has_quiet_NaN;
static const bool is_iec559
= has_infinity && has_quiet_NaN && has_denorm == denorm_present;
static const bool is_bounded = true;
static const bool is_modulo = false;
......@@ -968,7 +969,8 @@ namespace std
static double denorm_min() throw()
{ return __DBL_DENORM_MIN__; }
static const bool is_iec559 = has_infinity && has_quiet_NaN;
static const bool is_iec559
= has_infinity && has_quiet_NaN && has_denorm == denorm_present;
static const bool is_bounded = true;
static const bool is_modulo = false;
......@@ -1026,7 +1028,8 @@ namespace std
static long double denorm_min() throw()
{ return __LDBL_DENORM_MIN__; }
static const bool is_iec559 = has_infinity && has_quiet_NaN;
static const bool is_iec559
= has_infinity && has_quiet_NaN && has_denorm == denorm_present;
static const bool is_bounded = true;
static const bool is_modulo = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment