CREAL(3) | Library Functions Manual | CREAL(3)

# NAME

`creal`, `crealf`, `creall` — complex real functions

# SYNOPSIS

Math Library (libm, -lm)
`#include <complex.h>`

double
`creal`(double complex z);

float
`crealf`(float complex z);

long double
`creall`(long double complex z);

# DESCRIPTION

The `creal`(), `crealf`() and `creall`() functions compute the real part of z.

# RETURN VALUES

The `creal`(), `crealf`() and `creall`() functions return the real part of z.

# SEE ALSO

carg(3)

# STANDARDS

The `creal`(), `crealf`() and `creall`() functions conform to ISO/IEC 9899:1999 (“ISO C99”).

June 7, 2025 | Debian