man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: July 2014
 
 

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
Committed
MT-Level
MT-Safe
Standard

See also

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