7.3.9.2 The cimag functions

Synopsis

1

#include <complex.h>
double cimag(double complex z);
float cimagf(float complex z);
long double cimagl(long double complex z);

Description

2

The cimag functions compute the imaginary part of z.[1]

Returns

3

The cimag functions return the imaginary part value (as a real).

Footnotes