diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-27 22:39:28 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-27 22:39:28 +0000 |
| commit | 8800017f810a576290e9070484762f8d898438c7 (patch) | |
| tree | a9087fc2a577bf72d4d1bd56b540803154fb984e /libstdc++-v3/include/std/std_limits.h | |
| parent | 3c718f4996addb8e7c47ba7ee3a351bcbfc1f005 (diff) | |
| download | ppe42-gcc-8800017f810a576290e9070484762f8d898438c7.tar.gz ppe42-gcc-8800017f810a576290e9070484762f8d898438c7.zip | |
* include/std/std_limits.h (numeric_limits<T>::is_iec559): False
if denormals are not supported.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57595 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/std_limits.h')
| -rw-r--r-- | libstdc++-v3/include/std/std_limits.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libstdc++-v3/include/std/std_limits.h b/libstdc++-v3/include/std/std_limits.h index f8df6ba7895..be4b5f2a90b 100644 --- a/libstdc++-v3/include/std/std_limits.h +++ b/libstdc++-v3/include/std/std_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; |

