CIMAG(3M) Mathematical Library Functions CIMAG(3M)

cimag, cimagf, cimagl - complex imaginary functions

c99 [ flag... ] file... -lm [ library... ]
#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 z.

These functions return the imaginary part value (as a real).

No errors are defined.

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Standard
MT-Level MT-Safe

complex.h(3HEAD), carg(3M), conj(3M), cproj(3M), creal(3M), attributes(7), standards(7)

July 12, 2006 SunOS 5.11