|
complex::realpublic member function
T real() const; Return real part Returns the real part of the complex number.A global function exists, real, with the same behavior. ParametersnoneReturn valueReal part.T is complex's template type. Example
Output:
See also
|