Namespaces
Variants
Views
Actions

csqrtf, csqrt, csqrtl

From cppreference.com
< c‎ | numeric‎ | complex
Revision as of 15:27, 1 July 2013 by P12bot (Talk | contribs)

Defined in header <complex.h>
float complex       csqrtf( float complex z );
(since C99)
double complex      csqrt( double complex z );
(since C99)
long double complex csqrtl( long double complex z );
(since C99)

Computes the complex square root of z with branch cut along the negative real axis.

Contents

Parameters

z - complex argument

Return value

The complex square root of z in the interval [0; +∞) along the real axis and in the interval (−∞; +∞) along the imaginary axis.

Example

See also

(C99)(C99)(C99)
computes the complex power function
(function) [edit]