Performs complex imaginary computations.
#include <complex.h>
double cimag (z)
double complex z;
float cimagf (z)
float complex z;
long double cimagl (z)
long double complex z;
The cimag, cimagf, and cimagl subroutines compute the imaginary part of z.
Item | Description |
---|---|
z | Specifies the value to be computed. |
The cimag, cimagf, and cimagl subroutines return the imaginary part value (as a real).