creal

Autres langues

Langue: de

Version: 6. April 2006 (openSuse - 09/10/07)

Section: 3 (Bibliothèques de fonctions)

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).