1CSQRT(P) POSIX Programmer's Manual CSQRT(P)
2
3
4
6 csqrt, csqrtf, csqrtl - complex square root functions
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
17 These functions shall compute the complex square root of z, with a
18 branch cut along the negative real axis.
19
21 These functions shall return the complex square root value, in the
22 range of the right half-plane (including the imaginary axis).
23
25 No errors are defined.
26
27 The following sections are informative.
28
30 None.
31
33 None.
34
36 None.
37
39 None.
40
42 cabs() , cpow() , the Base Definitions volume of IEEE Std 1003.1-2001,
43 <complex.h>
44
46 Portions of this text are reprinted and reproduced in electronic form
47 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
48 -- Portable Operating System Interface (POSIX), The Open Group Base
49 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
50 Electrical and Electronics Engineers, Inc and The Open Group. In the
51 event of any discrepancy between this version and the original IEEE and
52 The Open Group Standard, the original IEEE and The Open Group Standard
53 is the referee document. The original Standard can be obtained online
54 at http://www.opengroup.org/unix/online.html .
55
56
57
58IEEE/The Open Group 2003 CSQRT(P)