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
This commit is contained in:
parent
f2d208028d
commit
d3d09886b3
2 changed files with 13 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue