complex (1) | template<class T> T real (const complex<T>& x); |
---|
complex (1) | template<class T> T real (const complex<T>& x); |
---|---|
arithmetic type (2) | double real (ArithmeticType x); // additional overloads |
x.real()
.x.real()
for (1).double
, except if the argument is float
or long double
(in which case, the return type is of the same type as the argument).
|
|
Real part: 10 |