Everything

cimagf / cimag / cimagl


Calculates the imaginary part.

[Format]

#include <complex.h>

float cimagf(float complex z);

double cimag(double complex z);

long double cimagl(long double complex z);

[Parameters]

z Complex number for which the imaginary part is to be computed

[Return values]

Imaginary part value of z as a real number