abs

template<class T>
    T abs(const complex<T>& x);

The function returns the magnitude of x.