This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in complex::norm
- To: <gcc at gcc dot gnu dot org>
- Subject: Re: Bug in complex::norm
- From: Maurizio Loreti <loreti at pd dot infn dot it>
- Date: Wed, 22 Aug 2001 10:17:19 +0200 (CEST)
- cc: <gdr at codesourcery dot com>, <nbecker at fred dot net>
> Is complex<T> required to work with non-floating point types T?
No. ISO/IEC 14882:1998 2.6.2.2 states:
"The effect of instantiating template complex for any type other than
float, double and long double is unspecified."
--
Maurizio Loreti http://www.pd.infn.it/~loreti/mlo.html
Univ. of Padova, Dept. of Physics - Padova, Italy loreti@pd.infn.it