1CREAL(3) complex math routines CREAL(3)
2
3
4
6 creal, crealf, creall - get real part of a complex number
7
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
18 The creal() function returns the real part of the complex number z.
19
20 One has z = creal(z) + I*cimag(z).
21
23 The gcc supports also __real__. That is a GNU extension.
24
26 C99
27
29 cabs(3), cimag(3), complex(7)
30
31
32
33 2002-07-28 CREAL(3)