Re: Complex numbers in c++0x

2009-06-11 Thread Paolo Carlini
Marc Steinbach wrote: > PS: all this applies similarly to proj(x), except that it is not yet > provided by GCC. > It is, for C++0x. Note that the end user is not supposed to use tr1_impl files directly. Paolo.

Re: Complex numbers in c++0x

2009-06-11 Thread Gabriel Dos Reis
On Thu, Jun 11, 2009 at 2:27 AM, Marc Steinbach wrote: > In , GCC defines an additional overload of conj(x) > for non-complex arithmetic types, as specified in 26.3.9 [cmplx.over] > of the upcoming C++ Standard (Working Draft). > The Draft mandates certain type promotion of x. > > In the (experimen

Complex numbers in c++0x

2009-06-11 Thread Marc Steinbach
In , GCC defines an additional overload of conj(x) for non-complex arithmetic types, as specified in 26.3.9 [cmplx.over] of the upcoming C++ Standard (Working Draft). The Draft mandates certain type promotion of x. In the (experimental) GCC implementation, conj(x) returns x as a complex value (wit