diff options
author | Gabriel Dos Reis <gdr@merlin.codesourcery.com> | 2001-09-12 07:39:46 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2001-09-12 07:39:46 +0000 |
commit | a44d2c392fced1323d1989adf19ab1cc8cbe0215 (patch) | |
tree | 2b823af99a94ec13e3f38752090e5861a5480232 | |
parent | be7377b2ccd33167c2a2dc32a8d6899ed64bc122 (diff) | |
download | gcc-a44d2c392fced1323d1989adf19ab1cc8cbe0215.zip gcc-a44d2c392fced1323d1989adf19ab1cc8cbe0215.tar.gz gcc-a44d2c392fced1323d1989adf19ab1cc8cbe0215.tar.bz2 |
std_limits.h (numeric_limits<float>::radix, [...]): Fix thinko.
* include/bits/std_limits.h (numeric_limits<float>::radix,
numeric_limits<float>::epsilon: Fix thinko.
From-SVN: r45559
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | 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 e59d02b..f52b092 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com> + + * include/bits/std_limits.h (numeric_limits<float>::radix, + numeric_limits<float>::epsilon: Fix thinko. + 2001-09-10 Benjamin Kosnik <bkoz@redhat.com> * 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 a1572df..e988db2 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; } |