NAME
cimag(), cimagf() — the imaginary part of a complex value
SYNOPSIS
#include <complex.h>
double cimag(double complex z);
float cimagf(float complex z);
DESCRIPTION
These functions are available only for IA-64.
cimag()
returns the
imaginary part of
z
(as a real).
cimagf()
is a
float
complex
version of
cimag();
it takes a
float
complex
argument and returns a
float
result.
These functions raise no floating-point exceptions.
USAGE
To use these functions,
compile with the default
-Ae
option.
Make sure your program includes
<complex.h>.
Link in the math library by specifying
-lm
on the compiler or linker command line.
ERRORS
No errors are defined.
STANDARDS CONFORMANCE
cimag(),
cimagf():
ISO/IEC C99 (including Annex G,
IEC 60559-compatible complex arithmetic)