CIMAG

Section: Manuel du programmeur Linux (3)
Updated: 21 juillet 2003
Index


NOM
SYNOPSIS
DESCRIPTION
NOTE
CONFORMITÉ
VOIR AUSSI
TRADUCTION

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.