From 65e32b88a6a9b4b8169e4d8fde0bc28934c4667e Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 4 Sep 2002 16:22:18 -0700 Subject: std_limits.h (__glibcpp_f32_infinity_bytes, [...]): Remove. * include/std/std_limits.h (__glibcpp_f32_infinity_bytes, __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes, __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes, __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes, __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes, __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes, __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes, __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes, __glibcpp_long_double_has_infinity): Remove. (std::numeric_limits, std::numeric_limits, std::numeric_limits): Use __builtin_huge_val to implement has_infinity and infinity(). * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity, __glibcpp_long_double_infinity): Remove. From-SVN: r56821 --- libstdc++-v3/src/limits.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libstdc++-v3/src') diff --git a/libstdc++-v3/src/limits.cc b/libstdc++-v3/src/limits.cc index b0172b8d94b..9c5aabb6a0a 100644 --- a/libstdc++-v3/src/limits.cc +++ b/libstdc++-v3/src/limits.cc @@ -38,22 +38,16 @@ 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 = -- cgit v1.2.1