OSDN Git Service

* include/bits/std_limits.h (numeric_limits<float>::radix,
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Sep 2001 07:39:46 +0000 (07:39 +0000)
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Sep 2001 07:39:46 +0000 (07:39 +0000)
  numeric_limits<float>::epsilon:  Fix thinko.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45559 138bc75d-0d04-0410-961f-82ee72b054a4

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

index e59d02b..f52b092 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 a1572df..e988db2 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; }