sourCEntral - mobile manpages

pdf

CREAL

BEZEICHNUNG

creal, crealf, creall − den Realteil einer komplexen Zahl bestimmen

ÜBERSICHT

#include <complex.h>

double creal(double complex z);
float crealf(float complex
z);
long double creall(long double complex
z);

Mit der Option −lm linken.

BESCHREIBUNG

Die Funktion creal() gibt den Realteil einer komplexen Zahl z zurück.

Es ergibt sich z = creal(z) + I*cimag(z).

ANMERKUNG

Der gcc unterstützt auch __real__. Dies ist eine GNU-Erweiterung.

KONFORM ZU

C99

SIEHE AUCH

cabs(3), cimag(3), complex(5).

pdf