Standards / Extensions | C or C++ | Dependencies |
---|---|---|
C99 |
both | z/OS V1R7 |
#include <complex.h>
double cimag(double complex z);
float cimagf(float complex z);
long double cimagl(long double complex z);
Function | Hex | IEEE |
---|---|---|
cimag | X | X |
cimagf | X | X |
cimagl | X | X |
The cimag() family of functions return the imaginary part value (as a real).
For an example of a similar function see cacos(), cexp() or cpow().