CSQRT(3M) Mathematical Library Functions CSQRT(3M)

NAME


csqrt, csqrtf, csqrtl - complex square root functions

SYNOPSIS


c99 [ flag... ] file... -lm [ library... ]
#include <complex.h>

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 the range of
the right half-plane (including the imaginary axis).

ERRORS


No errors are defined.

ATTRIBUTES


See attributes(7) for descriptions of the following attributes:


+----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+----------------------------+-----------------------------+
|Interface Stability | Standard |
+----------------------------+-----------------------------+
|MT-Level | MT-Safe |
+----------------------------+-----------------------------+

SEE ALSO


complex.h(3HEAD), cabs(3M), cpow(3M), attributes(7), standards(7)

SunOS 5.11 July 12, 2006 CSQRT(3M)

tribblix@gmail.com :: GitHub :: Privacy