1CIMAG(P)                   POSIX Programmer's Manual                  CIMAG(P)
2
3
4

NAME

6       cimag, cimagf, cimagl - complex imaginary functions
7

SYNOPSIS

9       #include <complex.h>
10
11       double cimag(double complex z);
12       float cimagf(float complex z);
13       long double cimagl(long double complex z);
14
15

DESCRIPTION

17       These functions shall compute the imaginary part of z.
18

RETURN VALUE

20       These functions shall return the imaginary part value (as a real).
21

ERRORS

23       No errors are defined.
24
25       The following sections are informative.
26

EXAMPLES

28       None.
29

APPLICATION USAGE

31       For a variable z of complex type:
32
33
34              z == creal(z) + cimag(z)*I
35

RATIONALE

37       None.
38

FUTURE DIRECTIONS

40       None.
41

SEE ALSO

43       carg()  ,  conj()  , cproj() , creal() , the Base Definitions volume of
44       IEEE Std 1003.1-2001, <complex.h>
45
47       Portions of this text are reprinted and reproduced in  electronic  form
48       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
49       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
50       Specifications  Issue  6,  Copyright  (C) 2001-2003 by the Institute of
51       Electrical and Electronics Engineers, Inc and The Open  Group.  In  the
52       event of any discrepancy between this version and the original IEEE and
53       The Open Group Standard, the original IEEE and The Open Group  Standard
54       is  the  referee document. The original Standard can be obtained online
55       at http://www.opengroup.org/unix/online.html .
56
57
58
59IEEE/The Open Group                  2003                             CIMAG(P)
Impressum