##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# crealf, creal, creall

From cppreference.com
< c‎ | numeric‎ | complex

Defined in header `<complex.h>` |  |
float crealf( float complex z ); |  | (since C99)
double creal( double complex z ); |  | (since C99)
long double creall( long double complex z ); |  | (since C99)

Returns the real part of `z`.

### [edit] Parameters

z | - | complex argument

### [edit] Return value

The real part of `z`.

### [edit] Example

| This section is incomplete Reason: no example

### [edit] See also

cimag cimagf cimagl (C99)(C99)(C99) | computes the imaginary part a complex number (function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/numeric/complex/creal&oldid=62536"
Category:

- Todo no example