Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: July 2017
 
 

csqrtf(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(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
MT-Safe
Standard

See Also

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