Mathematical Library Functions csqrt(3M)
NAME
csqrt, csqrtf, csqrtl - complex square root functions
SYNOPSIS
c99 [ flag... ] file... -lm [ library... ]
#include
double complex csqrt(double complex z);float complex csqrtf(float complex z);
long double complex csqrtl(long double complex z);DESCRIPTION
These functions compute the complex square root of z, with a branch cut along the negative real axis.RETURN VALUES
These functions return the complex square root value, in therange of the right half-plane (including the imaginary
axis).ERRORS
No errors are defined.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
| Standard | See standards(5). ||_____________________________|_____________________________|
SEE ALSO
cabs(3M), complex.h(3HEAD), cpow(3M), attributes(5), stan-
dards(5)SunOS 5.11 Last change: 12 Jul 2006 1