Namespaces
Variants
Views
Actions

cabsf, cabs, cabsl

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

Defined in header <complex.h>
float       cabsf( float complex z );
(since C99)
double      cabs( double complex z );
(since C99)
long double cabsl( long double complex z );
(since C99)

Computes the complex absolute value of z.

Parameters

z - complex argument

Return value

The complex absolute value of z.

Example