cimag

Table des matières
Retour à l'index

 

NOM

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

BIBLIOTHÈQUE

Bibliothèque de math (libm, -lm)  

SYNOPSIS

#include <complex.h>

double cimag(double complex z);
float cimagf(float complex z);
long double cimagl(long double complex z);
 

DESCRIPTION

Ces fonctions renvoient la partie imaginaire du nombre complexe z.

On a :

z = creal(z) + I * cimag(z)  

ATTRIBUTS

Pour une explication des termes utilisés dans cette section, consulter attributes(7).
InterfaceAttributValeur
cimag(), cimagf(), cimagl() Sécurité des threadsMT-Safe
 

VERSIONS

Le compilateur gcc gère également __imag__. C'est une extension GNU.  

STANDARDS

C11, POSIX.1-2008.  

HISTORIQUE

glibc 2.1. C99, POSIX.1-2001.  

VOIR AUSSI

cabs(3), creal(3), complex(7)

 

TRADUCTION

La traduction française de cette page de manuel a été créée par Christophe Blaess <https://www.blaess.fr/christophe/>, Stéphan Rafin <stephan.rafin@laposte.net>, Thierry Vignaud <tvignaud@mandriva.com>, François Micaux, Alain Portal <aportal@univ-montp2.fr>, Jean-Philippe Guérard <fevrier@tigreraye.org>, Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>, Julien Cristau <jcristau@debian.org>, Thomas Huriaux <thomas.huriaux@gmail.com>, Nicolas François <nicolas.francois@centraliens.net>, Florentin Duneau <fduneau@gmail.com>, Simon Paillard <simon.paillard@resel.enst-bretagne.fr>, Denis Barbier <barbier@debian.org> et David Prévot <david@tilapin.org>

Cette traduction est une documentation libre ; veuillez vous reporter à la GNU General Public License version 3 concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE.

Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à


 

Index

NOM
BIBLIOTHÈQUE
SYNOPSIS
DESCRIPTION
ATTRIBUTS
VERSIONS
STANDARDS
HISTORIQUE
VOIR AUSSI
TRADUCTION

This document was created by man2html, using the manual pages.
Time: 05:06:10 GMT, September 19, 2025