|Skip Navigation Links|
|Exit Print View|
|man pages section 3: Extended Library Functions, Volume 2 Oracle Solaris 11.1 Information Library|
- complex square root functions
c99 [ flag... ] file... -lm [ library... ] #include <complex.h> double complex csqrt(double complex z);
float complex csqrtf(float complex z);
long double complex csqrtl(long double complex z);
These functions compute the complex square root of z, with a branch cut along the negative real axis.
These functions return the complex square root value, in the range of the right half-plane (including the imaginary axis).
No errors are defined.
See attributes(5) for descriptions of the following attributes: