1CREAL(3)                     complex math routines                    CREAL(3)
2
3
4

NAME

6       creal, crealf, creall - get real part of a complex number
7

SYNOPSIS

9       #include <complex.h>
10
11       double creal(double complex z);
12       float crealf(float complex z);
13       long double creall(long double complex z);
14
15       Link with -lm.
16

DESCRIPTION

18       The creal() function returns the real part of the complex number z.
19
20       One has z = creal(z) + I*cimag(z).
21

NOTE

23       The gcc supports also __real__. That is a GNU extension.
24

CONFORMING TO

26       C99
27

SEE ALSO

29       cabs(3), cimag(3), complex(7)
30
31
32
33                                  2002-07-28                          CREAL(3)
Impressum