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
This commit is contained in:
Gabriel Dos Reis 2001-09-12 07:39:46 +00:00 committed by Gabriel Dos Reis
parent be7377b2cc
commit a44d2c392f
2 changed files with 7 additions and 2 deletions

View 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

View 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; }