1CSQRT(3)                   Linux Programmer's Manual                  CSQRT(3)
2
3
4

NAME

6       csqrt, csqrtf, csqrtl - complex square root
7

SYNOPSIS

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

DESCRIPTION

18       These  functions  calculate the complex square root of z, with a branch
19       cut along the negative real axis.   (That  means  that  csqrt(-1+eps*I)
20       will be close to I while csqrt(-1-eps*I) will be close to -I, if eps is
21       a small positive real number.)
22

VERSIONS

24       These functions first appeared in glibc in version 2.1.
25

ATTRIBUTES

27       For  an  explanation  of  the  terms  used   in   this   section,   see
28       attributes(7).
29
30       ┌────────────────────────────┬───────────────┬─────────┐
31Interface                   Attribute     Value   
32       ├────────────────────────────┼───────────────┼─────────┤
33csqrt(), csqrtf(), csqrtl() │ Thread safety │ MT-Safe │
34       └────────────────────────────┴───────────────┴─────────┘
35

CONFORMING TO

37       C99, POSIX.1-2001, POSIX.1-2008.
38

SEE ALSO

40       cabs(3), cexp(3), complex(7)
41

COLOPHON

43       This  page  is  part of release 5.02 of the Linux man-pages project.  A
44       description of the project, information about reporting bugs,  and  the
45       latest     version     of     this    page,    can    be    found    at
46       https://www.kernel.org/doc/man-pages/.
47
48
49
50                                  2017-09-15                          CSQRT(3)
Impressum