cimag

Autres langues

Langue: fr

Version: 21 juillet 2003 (openSuse - 09/10/07)

Section: 3 (Bibliothèques de fonctions)

NOM

cimag, cimagf, cimagl - Obtenir la partie imaginaire d'un nombre complexe.

SYNOPSIS

#include <complex.h>

double cimag(double complex z);

float cimagf(float double complex z);

long double cimagl(long double complex z);

DESCRIPTION

La fonction cimag() renvoie la partie imaginaire du nombre complexe z.

On a z = creal(z) + I*cimag(z).

NOTE

Le compilateur gcc supporte également la macro __imag__, c'est une extension GNU.

CONFORMITÉ

C99

VOIR AUSSI

cabs(3), creal(3), complex(5)

TRADUCTION

Christophe Blaess, 2003.