std_limits.h (numeric_limits<float>::radix, [...]): Fix thinko.
authorGabriel Dos Reis <gdr@merlin.codesourcery.com>
Wed, 12 Sep 2001 07:39:46 +0000 (07:39 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Wed, 12 Sep 2001 07:39:46 +0000 (07:39 +0000)
* include/bits/std_limits.h (numeric_limits<float>::radix,
  numeric_limits<float>::epsilon:  Fix thinko.

From-SVN: r45559

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/std_limits.h

index e59d02b3f610c1a5c5aa192f7470c505af1c6614..f52b092e460b6768ed95d4cc7e5084bf020fcf02 100644 (file)
@@ -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
index a1572df3e7db5932bc62ed28c25d9dc00bfddebd..e988db2ee22ab2819d489d688c43e240d9682edc 100644 (file)
@@ -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; }