diff options
author | Gabriel Dos Reis <gdr@integrable-solutions.net> | 2002-08-27 20:30:26 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2002-08-27 20:30:26 +0000 |
commit | 2559486f3ec3ebae0b49a7bfefcec478266e5190 (patch) | |
tree | d423097187e2faf0d024fe26b52914e0ee847eee /libstdc++-v3/src/limits.cc | |
parent | b43783196fe7e18c741444ccbb94ad6c7920814b (diff) | |
download | gcc-2559486f3ec3ebae0b49a7bfefcec478266e5190.zip gcc-2559486f3ec3ebae0b49a7bfefcec478266e5190.tar.gz gcc-2559486f3ec3ebae0b49a7bfefcec478266e5190.tar.bz2 |
std_limits.h (__glibcpp_f32_infinity_bytes, [...]): New macros.
* include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
__glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
__glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
__glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
__glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
__glibcpp_f64_infinity_bytes,
__glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
__glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
__glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
__glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
__glibcpp_f80_infinity_bytes,
__glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
__glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
__glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
__glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
__glibcpp_f96_infinity_bytes,
__glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
__glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
__glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
__glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
__glibcpp_f128_infinity_bytes,
__glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
__glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
__glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
__glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
__glibcpp_float_infinity_bytes,
__glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
__glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
__glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
__glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
__glibcpp_double_infinity_bytes,
__glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
__glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
__glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
__glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
__glibcpp_long_double_infinity_bytes,
__glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
__glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
__glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
__glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
New macros.
(__glibcpp_word_bits, __glibcpp_word): Likewise.
(__glibcpp_byte): New typedef.
(__float_storage, __double_storage, __long_double_storage): New types.
(__glibcpp_float_infinity, __glibcpp_float_QNaN,
__glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
objects. Declare.
(__glibcpp_double_infinity, __glibcpp_double_QNaN,
__glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
(__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
__glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
Likewise.
* src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
__glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
(__glibcpp_double_infinity, __glibcpp_double_QNaN,
__glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
(__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
__glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
Likewise.
From-SVN: r56613
Diffstat (limited to 'libstdc++-v3/src/limits.cc')
-rw-r--r-- | libstdc++-v3/src/limits.cc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libstdc++-v3/src/limits.cc b/libstdc++-v3/src/limits.cc index 294673e..b0172b8 100644 --- a/libstdc++-v3/src/limits.cc +++ b/libstdc++-v3/src/limits.cc @@ -38,6 +38,29 @@ namespace std { + const __float_storage __glibcpp_float_infinity = + __glibcpp_float_infinity_bytes; + const __float_storage __glibcpp_float_QNaN = __glibcpp_float_QNaN_bytes; + const __float_storage __glibcpp_float_SNaN = __glibcpp_float_SNaN_bytes; + const __float_storage __glibcpp_float_denorm_min = + __glibcpp_float_denorm_min_bytes; + + const __double_storage __glibcpp_double_infinity = + __glibcpp_double_infinity_bytes; + const __double_storage __glibcpp_double_QNaN = __glibcpp_double_QNaN_bytes; + const __double_storage __glibcpp_double_SNaN = __glibcpp_double_SNaN_bytes; + const __double_storage __glibcpp_double_denorm_min = + __glibcpp_double_denorm_min_bytes; + + const __long_double_storage __glibcpp_long_double_infinity = + __glibcpp_long_double_infinity_bytes; + const __long_double_storage __glibcpp_long_double_QNaN = + __glibcpp_long_double_QNaN_bytes; + const __long_double_storage __glibcpp_long_double_SNaN = + __glibcpp_long_double_SNaN_bytes; + const __long_double_storage __glibcpp_long_double_denorm_min = + __glibcpp_long_double_denorm_min_bytes; + const bool __numeric_limits_base::is_specialized; const int __numeric_limits_base::digits; const int __numeric_limits_base::digits10; |