cimag(3M) Mathematical Library Functions cimag(3M)NAME
cimag, cimagf, cimagl - complex imaginary functions
SYNOPSIS
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);
DESCRIPTION
These functions compute the imaginary part of z.
RETURN VALUES
These functions return the imaginary part value (as a real).
ERRORS
No errors are defined.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Standard │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │MT-Safe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOcarg(3M), complex.h(3HEAD), conj(3M), cproj(3M), creal(3M),
attributes(5), standards(5)SunOS 5.10 12 Jul 2006 cimag(3M)