2 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
4 .\" SPDX-License-Identifier: GPL-1.0-or-later
6 .TH csqrt 3 (date) "Linux man-pages (unreleased)"
8 csqrt, csqrtf, csqrtl \- complex square root
11 .RI ( libm ", " \-lm )
14 .B #include <complex.h>
16 .BI "double complex csqrt(double complex " z );
17 .BI "float complex csqrtf(float complex " z );
18 .BI "long double complex csqrtl(long double complex " z );
21 These functions calculate the complex square root of
23 with a branch cut along the negative real axis.
24 (That means that \fIcsqrt(\-1+eps*I)\fP will be close to I while
25 \fIcsqrt(\-1\-eps*I)\fP will be close to \-I, \fIif eps\fP is a small positive
28 These functions were added in glibc 2.1.
30 For an explanation of the terms used in this section, see
38 Interface Attribute Value
43 T} Thread safety MT-Safe
49 C99, POSIX.1-2001, POSIX.1-2008.