cimag
, cimagf
, cimagl
—imaginary partSynopsis
#include <complex.h> double cimag(double complex z); float cimagf(float complex z); long double cimagl(long double complex z);
Description
These functions compute the imaginary part of z.
cimagf
is identical to cimag
, except that it performs
its calculations on float complex
.
cimagl
is identical to cimag
, except that it performs
its calculations on long double complex
.
Returns
The cimag* functions return the imaginary part value (as a real).
Portability
cimag
, cimagf
and cimagl
are ISO C99