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)
SunOS 5.11 July 12, 2006 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(7) for descriptions of the following attributes:
+----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+----------------------------+-----------------------------+
|Interface Stability | Standard |
+----------------------------+-----------------------------+
|MT-Level | MT-Safe |
+----------------------------+-----------------------------+
SEE ALSO
complex.h(3HEAD), carg(3M), conj(3M), cproj(3M), creal(3M),
attributes(7), standards(7)
SunOS 5.11 July 12, 2006 CIMAG(3M)