From a44d2c392fced1323d1989adf19ab1cc8cbe0215 Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Wed, 12 Sep 2001 07:39:46 +0000 Subject: [PATCH] std_limits.h (numeric_limits::radix, [...]): Fix thinko. * include/bits/std_limits.h (numeric_limits::radix, numeric_limits::epsilon: Fix thinko. From-SVN: r45559 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/include/bits/std_limits.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e59d02b3f61..f52b092e460 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2001-09-12 Gabriel Dos Reis + + * include/bits/std_limits.h (numeric_limits::radix, + numeric_limits::epsilon: Fix thinko. + 2001-09-10 Benjamin Kosnik * configure.in: Fix cross compiling math routines. Correct diff --git a/libstdc++-v3/include/bits/std_limits.h b/libstdc++-v3/include/bits/std_limits.h index a1572df3e7d..e988db2ee22 100644 --- a/libstdc++-v3/include/bits/std_limits.h +++ b/libstdc++-v3/include/bits/std_limits.h @@ -1770,9 +1770,9 @@ namespace std static const bool is_signed = true; static const bool is_integer = false; static const bool is_exact = false; - static const int radix = 2; + static const int radix = __glibcpp_float_radix; static float epsilon() throw() - { return __glibcpp_float_radix; } + { return __glibcpp_float_epsilon; } static float round_error() throw() { return __glibcpp_float_round_error; }