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)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

[edit] Parameters

z - complex argument

[edit] Return value

The complex absolute value of z.

[edit] Example