csqrt
, csqrtf
—complex square root#include <complex.h> double complex csqrt(double complex z); float complex csqrtf(float complex z);
Description
These functions compute the complex square root of z, with
a branch cut along the negative real axis.
csqrtf
is identical to csqrt
, except that it performs
its calculations on floats complex
.
Returns
Portability
csqrt
and csqrtf
are ISO C99