template <class T> class complex;
x
) and an imaginary part (y*i
):x + y * i
y*i
) is a factor of i
, known as the imaginary unit, and which satisfies that:i2 = -1
float
, double
or long double
is undefined (certain library implementations may support it, but the resulting code is non-portable).member type | definition | description |
---|---|---|
value_type | The first template parameter (T) | The type of both Cartesian components |
float
, double
and long double
.