1creal(3M)               Mathematical Library Functions               creal(3M)
2
3
4

NAME

6       creal, crealf, creall - complex real functions
7

SYNOPSIS

9       c99 [ flag... ] file... -lm [ library... ]
10       #include <complex.h>
11
12       double creal(double complex z);
13
14
15       float crealf(float complex z);
16
17
18       long double creall(long double complex z);
19
20

DESCRIPTION

22       These functions compute the real part of z.
23

RETURN VALUES

25       These functions return the real part value.
26

ERRORS

28       No errors are defined.
29

USAGE

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

ATTRIBUTES

37       See attributes(5) for descriptions of the following attributes:
38
39
40
41
42       ┌─────────────────────────────┬─────────────────────────────┐
43       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
44       ├─────────────────────────────┼─────────────────────────────┤
45       │Interface Stability          │Standard                     │
46       ├─────────────────────────────┼─────────────────────────────┤
47       │MT-Level                     │MT-Safe                      │
48       └─────────────────────────────┴─────────────────────────────┘
49

SEE ALSO

51       carg(3M),    cimag(3M),    complex.h(3HEAD),    conj(3M),    cproj(3M),
52       attributes(5), standards(5)
53
54
55
56SunOS 5.11                        12 Jul 2006                        creal(3M)
Impressum