polar

template<class T>
    complex<T> polar(const T& rho, const T& theta = 0);

The function returns the complex value whose magnitude is rho and whose phase angle is theta.