mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
1cb7f91f86
commit
b0396e3b6c
|
|
@ -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>
|
2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
libstdc++/6124
|
libstdc++/6124
|
||||||
|
|
|
||||||
|
|
@ -421,12 +421,6 @@ namespace std
|
||||||
class __num_base
|
class __num_base
|
||||||
{
|
{
|
||||||
protected:
|
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.
|
// String literal of acceptable (narrow) input, for num_get.
|
||||||
// "0123456789eEabcdfABCDF"
|
// "0123456789eEabcdfABCDF"
|
||||||
static const char _S_atoms[];
|
static const char _S_atoms[];
|
||||||
|
|
|
||||||
|
|
@ -514,13 +514,8 @@ namespace std
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
const char __num_base::_S_atoms[] = "0123456789eEabcdfABCDF";
|
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
|
bool
|
||||||
__num_base::_S_format_float(const ios_base& __io, char* __fptr, char __mod,
|
__num_base::_S_format_float(const ios_base& __io, char* __fptr, char __mod,
|
||||||
streamsize __prec)
|
streamsize __prec)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue