Returns the imaginary part of its complex argument.
This function is supported on OpenVMS Integrity servers and
Alpha only.
Format
#include <complex.h>
double cimag (double complex z);
float cimagf (float complex z);
long double cimagl (long double complex z);
1 – Argument
z
A complex value.
2 – Description
The cimag functions return the imaginary part of z as a real
number.
3 – Return Values
x The imaginary part value.