Standards / Extensions | C or C++ | Dependencies |
---|---|---|
C99 |
both | z/OS V1R7 |
##include <complex.h>
double complex csqrt(double complex z);
float complex csqrtf(float complex z);
long double complex csqrtl(long double complex z);
Function | Hex | IEEE |
---|---|---|
csqrt | X | X |
csqrtf | X | X |
csqrtl | X | X |
The csqrt() family of functions return the complex square root value, in the range of the right half-plane (including the imaginary axis).
For an example of a similar function see cacos(), cexp() or cpow().