Bug in complex::norm
Gabriel Dos Reis
gdr@codesourcery.com
Wed Aug 22 03:59:00 GMT 2001
Maurizio Loreti <loreti@pd.infn.it> writes:
| > 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."
Thanks.
I don't recall if I changed norm's implementation, and if so I don't
recall why. But we should have a less inefficient implementation.
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc
mailing list