Compute the imaginary part of a complex number
#include <complex.h> double cimag(double complex z); float cimagf(float complex z); long double cimagl(long double complex z);
These functions compute the imaginary part of the complex number specified by z.
The imaginary part of z.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |