Namespaces
Variants
Views
Actions

csqrtf, csqrt, csqrtl

From cppreference.com
< c‎ | numeric‎ | complex
Revision as of 14:13, 4 January 2013 by P12bot (Talk | contribs)

Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <complex.h>
</td>

<td></td> <td></td> <tr class="t-dcl-sep"><td></td><td></td><td></td></tr>

<tr class="t-dcl ">

<td >
float complex       csqrtf( float complex z );
</td>

<td class="t-dcl-nopad"> </td> <td > (since C99) </td> </tr> <tr class="t-dcl-sep"><td></td><td></td><td></td></tr>

<tr class="t-dcl ">

<td >
double complex      csqrt( double complex z );
</td>

<td class="t-dcl-nopad"> </td> <td > (since C99) </td> </tr> <tr class="t-dcl-sep"><td></td><td></td><td></td></tr>

<tr class="t-dcl ">

<td >
long double complex csqrtl( long double complex z );
</td>

<td class="t-dcl-nopad"> </td> <td > (since C99) </td> </tr> Template:ddcl list end

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

Template:c/numeric/complex/dcl list cpow