Namespaces
Variants
Views
Actions

cimagf, cimag, cimagl

From cppreference.com
< c | numeric | complex
Revision as of 20:43, 2 November 2012 by P12bot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Defined in header <complex.h>
float       cimagf( float complex z );
(since C99)
double      cimag( double complex z );
(since C99)
long double cimagl( long double complex z );
(since C99)

Returns the imaginary part of z.

Contents

[edit] Parameters

z - complex argument

[edit] Return value

The imaginary part of z.

[edit] Example

[edit] See also

(C99)
(C99)
(C99)
computes the real part of a complex number
(function) [edit]