| complex (1) | template<class T> T arg (const complex<T>& x); |
|---|
| complex (1) | template<class T> T arg (const complex<T>& x); |
|---|---|
| arithmetic type (2) | double arg (ArithmeticType x); // additional overloads |
(real,imag) forms with the real axis (i.e., its arc tangent). It returns the same as: |
|
double, except if the argument is float or long double (in which case, the return type is of the same type as the argument). |
|
The polar form of (3,4) is 5*e^i*0.927295rad |