locale_facets.h (__num_base::_S_scale_hex): Remove.

2002-04-09  Jakub Jelinek  <jakub@redhat.com>

	* include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
	(__num_base::_S_scale_oct): Remove.
	* src/locale.cc (__num_base::_S_scale_hex): Remove.
	(__num_base::_S_scale_oct): Remove.

From-SVN: r52068
This commit is contained in:
Jakub Jelinek 2002-04-09 10:00:08 +02:00 committed by Benjamin Kosnik
parent 1cb7f91f86
commit b0396e3b6c
3 changed files with 7 additions and 11 deletions

View File

@ -1,3 +1,10 @@
2002-04-09 Jakub Jelinek <jakub@redhat.com>
* include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
(__num_base::_S_scale_oct): Remove.
* src/locale.cc (__num_base::_S_scale_hex): Remove.
(__num_base::_S_scale_oct): Remove.
2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/6124

View File

@ -421,12 +421,6 @@ namespace std
class __num_base
{
protected:
// Used to establish gating factor for base 16 input.
static const double _S_scale_hex;
// Used to establish gating factor for base 8 input.
static const double _S_scale_oct;
// String literal of acceptable (narrow) input, for num_get.
// "0123456789eEabcdfABCDF"
static const char _S_atoms[];

View File

@ -514,13 +514,8 @@ namespace std
}
#endif
const char __num_base::_S_atoms[] = "0123456789eEabcdfABCDF";
const double __num_base::_S_scale_hex = log(10.0)/log(16.0);
const double __num_base::_S_scale_oct = log(10.0)/log(8.0);
bool
__num_base::_S_format_float(const ios_base& __io, char* __fptr, char __mod,
streamsize __prec)