:man| Alphabetical   Categories   About us 
 
CSQRT (3) | C library functions | Unix Manual Pages | :man

NAME

csqrt, csqrtf, csqrtl - complex square root

CONTENTS

Synopsis
Description

SYNOPSIS

#include <complex.h>

"double complex csqrt(double complex "z");"

"float complex csqrt(float complex "z");"

"long double complex csqrt(long double complex "z");"

DESCRIPTION

Calculate the square root of a given complex number, with nonnegative real part, and with a branch cut along the negative real axis. (That means that csqrt(-1+eps*I) will be close to I while csqrt(-1-eps*I) will be close to -I, if eps is a small positive real number.)

"CONFORMING TO"

C99

"SEE ALSO"

cabs(3), cexp(3)

 
Created by Blin Media, 2008-2013