1csqrt(3M) Mathematical Library Functions csqrt(3M)
2
3
4
6 csqrt, csqrtf, csqrtl - complex square root functions
7
9 c99 [ flag... ] file... -lm [ library... ]
10 #include <complex.h>
11
12 double complex csqrt(double complex z);
13
14
15 float complex csqrtf(float complex z);
16
17
18 long double complex csqrtl(long double complex z);
19
20
22 These functions compute the complex square root of z, with a branch cut
23 along the negative real axis.
24
26 These functions return the complex square root value, in the range of
27 the right half-plane (including the imaginary axis).
28
30 No errors are defined.
31
33 See attributes(5) for descriptions of the following attributes:
34
35
36
37
38 ┌─────────────────────────────┬─────────────────────────────┐
39 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
40 ├─────────────────────────────┼─────────────────────────────┤
41 │Interface Stability │Standard │
42 ├─────────────────────────────┼─────────────────────────────┤
43 │MT-Level │MT-Safe │
44 └─────────────────────────────┴─────────────────────────────┘
45
47 cabs(3M), complex.h(3HEAD), cpow(3M), attributes(5), standards(5)
48
49
50
51SunOS 5.11 12 Jul 2006 csqrt(3M)