1CSQRT(3) complex math routines CSQRT(3)
2
3
4
6 csqrt, csqrtf, csqrtl - complex square root
7
9 #include <complex.h>
10
11 double complex csqrt(double complex z);
12 float complex csqrtf(float complex z);
13 long double complex csqrtl(long double complex z);
14
15 Link with -lm.
16
18 Calculate the square root of a given complex number, with nonnegative
19 real part, and with a branch cut along the negative real axis. (That
20 means that csqrt(-1+eps*I) will be close to I while csqrt(-1-eps*I)
21 will be close to -I, if eps is a small positive real number.)
22
24 C99
25
27 cabs(3), cexp(3), complex(7)
28
29
30
31 2002-07-28 CSQRT(3)