Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

cimagl(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(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Availability
system/library/math
MT-Level
MT-Safe
Standard

See Also

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