This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Change definition of complex::norm
- To: Gabriel Dos Reis <gdr at codesourcery dot com>
- Subject: Re: Change definition of complex::norm
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Thu, 1 Nov 2001 10:21:28 -0500
- Cc: gcc at gcc dot gnu dot org
- References: <20011031104145.587f5bf1.bkoz@redhat.com> <flvgguewir.fsf@riz.cmla.ens-cachan.fr>
On Thu, Nov 01, 2001 at 09:16:28AM +0100, Gabriel Dos Reis wrote:
> + // As defined, norm() is -not- a norm is the common mathematical
> + // sens used in numerics. The helper class _Norm_helper<> tries to
^
sense
> + template<bool>
> + struct _Norm_helper
> + {
> + template<typename _Tp>
> + static inline _Tp _S_do_it(const complex<_Tp>& __z)
^^^^^^^^
Maybe something like "_S_do_norm" to be in line with the naming scheme of the
other do_ functions (do_get, do_put, etc) in the library?
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams