Name
sqrt function template — Computes square root
Synopsis
template<typename T> complex<T> sqrt(const complex<T>& z)
The sqrt
function returns
the complex square root of z
.The
branch cuts are along the negative real axis. The result always has
a nonnegative real part.