# csqrtf, csqrt, csqrtl

< c‎ | numeric‎ | complex

C
 Language headers Type support Dynamic memory management Error handling Program utilities Variadic function support Date and time utilities Strings library Algorithms Numerics Input/output support Localization support Thread support (C11) Atomic operations (C11) Technical Specifications

Complex number arithmetic
Types and the imaginary constant
Manipulation
Power and exponential functions
 cpow csqrt
Trigonometric functions
Hyperbolic functions

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

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

<td></td> <td></td> <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 ">

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

<td class="t-dcl-nopad"> </td> <td > (since C99) </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.