This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Change definition of complex::norm


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]