Namespaces
Variants
Views
Actions

cabsf, cabs, cabsl

From cppreference.com
< c‎ | numeric‎ | complex
Revision as of 20:54, 2 November 2012 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 ">

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

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

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

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

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

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

Computes the complex absolute value of z.

Parameters

z - complex argument

Return value

The complex absolute value of z.

Example