abs function template — Computes absolute value
template<typename T> T abs(const complex<T>& z)
The abs function returns the absolute value (or magnitude) of z.
abs
z
polar function template, abs function in <cmath>
<cmath>