This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Change definition of complex::norm
- To: gcc at gcc dot gnu dot org, nbecker at fred dot net
- Subject: Re: Change definition of complex::norm
- From: dewar at gnat dot com
- Date: Wed, 31 Oct 2001 09:08:05 -0500 (EST)
Robert said
>> real(z) * real(z) + imag(z) * imag(z).
> It looks like this will generate incorrect overflow in some cases ...
but he was wrong :-)
I agree this is a reasonable suggestion (I don't know what bothered me, but
I see no objection).