From: Jakub Jelinek Date: Tue, 9 Apr 2002 08:00:08 +0000 (+0200) Subject: locale_facets.h (__num_base::_S_scale_hex): Remove. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b0396e3b6c681cd37a2e238062091ce37d1955be;p=gcc.git locale_facets.h (__num_base::_S_scale_hex): Remove. 2002-04-09 Jakub Jelinek * 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 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 48e11112550..38721167630 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2002-04-09 Jakub Jelinek + + * 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 libstdc++/6124 diff --git a/libstdc++-v3/include/bits/locale_facets.h b/libstdc++-v3/include/bits/locale_facets.h index c00e17cd5aa..a45023f8cb6 100644 --- a/libstdc++-v3/include/bits/locale_facets.h +++ b/libstdc++-v3/include/bits/locale_facets.h @@ -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[]; diff --git a/libstdc++-v3/src/locale.cc b/libstdc++-v3/src/locale.cc index d2fd7631603..02177ed73c5 100644 --- a/libstdc++-v3/src/locale.cc +++ b/libstdc++-v3/src/locale.cc @@ -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)