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: Bug in complex::norm


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


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