# Fonctions mathématiques communes

< cpp‎ | numeric

Bibliothèque Numerics
Fonctions mathématiques courantes
Virgule flottante environnement
Nombres complexes
Tableaux numériques
La génération de nombres pseudo-aléatoires
Moment de la compilation arithmétique rationnelle (C++11)
Génériques des opérations numériques
Original:
Generic numeric operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 iota (C++11)
 accumulate
 inner_product
 partial_sum

Fonctions mathématiques courantes
{{{1}}}
Original:
{{{2}}}
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Fonctions
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Opérations de base
Original:
Basic operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 abs(int)labsllabsimaxabs (C++11)
 abs(float)fabs
 divldivlldivimaxdiv (C++11)
 fmod
 remainder (C++11)
 remquo (C++11)
 fma (C++11)
 fmax (C++11)
 fmin (C++11)
 fdim (C++11)
 nannanfnanl (C++11) (C++11) (C++11)
Les fonctions exponentielles
Original:
Exponential functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 exp
 exp2 (C++11)
 expm1 (C++11)
 log
 log10
 log1p (C++11)
 log2 (C++11)
Les fonctions de puissance
Original:
Power functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 sqrt
 cbrt (C++11)
 hypot (C++11)
 pow
Les fonctions trigonométriques et hyperboliques
Original:
Trigonometric and hyperbolic functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 sin
 cos
 tan
 asin
 acos
 atan
 atan2
 sinh
 cosh
 tanh
 asinh (C++11)
 acosh (C++11)
 atanh (C++11)
{{{1}}}
Original:
{{{2}}}
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Erreur fonctions et gamma
Original:
Error and gamma functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 erf (C++11)
 erfc (C++11)
 lgamma (C++11)
 tgamma (C++11)
Entier le plus proche opérations en virgule flottante
Original:
Nearest integer floating point operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 ceil
 floor
 roundlroundllround (C++11) (C++11) (C++11)
 trunc (C++11)
 nearbyint (C++11)
 rintlrintllrint (C++11) (C++11) (C++11)
Flottant fonctions de manipulation de points
Original:
Floating point manipulation functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 ldexp
 scalbnscalbln (C++11) (C++11)
 ilogb (C++11)
 logb (C++11)
 frexp
 modf
 nextafternexttoward (C++11) (C++11)
 copysign (C++11)
Classification / Comparaison
Original:
Classification/Comparison
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 fpclassify (C++11)
 isfinite (C++11)
 isinf (C++11)
 isnan (C++11)
 isnormal (C++11)
 signbit (C++11)
 isgreater (C++11)
 isgreaterequal (C++11)
 isless (C++11)
 islessequal (C++11)
 islessgreater (C++11)
 isunordered (C++11)
Macro constantes
Original:
Macro constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 HUGE_VALFHUGE_VALHUGE_VALL (C++11) (C++11)
 INFINITY (C++11)
 nan (C++11)
 math_errhandlingMATH_ERRNOMATH_ERREXCEPT (C++11)
 FP_NORMALFP_SUBNORMALFP_ZEROFP_INFINITEFP_NAN (C++11) (C++11) (C++11) (C++11) (C++11)
</div>

</div>

## Sommaire

### [modifier]Fonctions

Defined in header `<cmath>`
##### Opérations de base
calcule la valeur absolue d'une valeur intégrale (|x|)
Original:
computes absolute value of an integral value (|x|)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
valeur absolue d'une valeur à virgule flottante (|x|)
Original:
absolute value of a floating point value (|x|)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
le quotient et le reste de la division entière
Original:
the quotient and remainder of integer division
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
reste de l'opération de division à virgule flottante
Original:
remainder of the floating point division operation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
signé reste de l'opération de division
Original:
signed remainder of the division operation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
signé reste ainsi que les trois derniers bits de l'opération de division
Original:
signed remainder as well as the three last bits of the division operation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
Original:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
plus grande des deux valeurs à virgule flottante
Original:
larger of two floating point values
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
plus petite des deux valeurs à virgule flottante
Original:
smaller of two floating point values
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
différence positive de deux valeurs à virgule flottante (max(0, x-y))
Original:
positive difference of two floating point values (max(0, x-y))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
(C++11)
(C++11)
pas-un nombre-(NaN)
Original:
not-a-number (NaN)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
##### Fonctions exponentielles
retours e à la puissance donnée (ex)
Original:
returns e raised to the given power (ex)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
retours 2 élevé à la puissance donnée (2x)
Original:
returns 2 raised to the given power (2x)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
retours e à la puissance donnée, moins un (ex-1)
Original:
returns e raised to the given power, minus one (ex-1)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
calcule naturel (base e) logarithme (de base e) (ln(x))
Original:
computes natural (base e) logarithm (to base e) (ln(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
calcule commune (base 10) Logarithme (log10(x))
Original:
computes common (base 10) logarithm (log10(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
logarithme naturel (à la base e) de 1, plus le nombre donné
Original:
natural logarithm (to base e) of 1 plus the given number
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
logarithme en base 2 d'un nombre donné
Original:
base 2 logarithm of the given number
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
##### Fonctions puissance
calcule la racine carrée (x)
Original:
computes square root (x)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
calcule la racine cubique (3x)
Original:
computes cubic root (3x)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
calcule la racine carrée de la somme des carrés des deux nombres donnés (x2
+y2
)
Original:
computes square root of the sum of the squares of two given numbers (x2
+y2
)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
soulève un certain nombre à la puissance donnée (xy)
Original:
raises a number to the given power (xy)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
##### Fonctions trigonométriques
sine calcule (sin(x))
Original:
computes sine (sin(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
calcule en cosinus (cos(x))
Original:
computes cosine (cos(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
calcule la tangente (tan(x))
Original:
computes tangent (tan(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
arcsinus calcule (arcsin(x))
Original:
computes arc sine (arcsin(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
calcule l'arc cosinus (arccos(x))
Original:
computes arc cosine (arccos(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
calcule l'arc tangente (arctan(x))
Original:
computes arc tangent (arctan(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
arc tangente, en utilisant des signes pour déterminer quadrants
Original:
arc tangent, using signs to determine quadrants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
##### Fonctions hyperboliques
calcule sinus hyperbolique (sh(x))
Original:
computes hyperbolic sine (sh(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
calcule le cosinus hyperbolique (ch(x))
Original:
computes hyperbolic cosine (ch(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
tangente hyperbolique
Original:
hyperbolic tangent
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
arc sinus hyperbolique
Original:
hyperbolic arc sine
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
arc cosinus hyperbolique
Original:
hyperbolic arc cosine
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
arctangente hyperbolique
Original:
hyperbolic arc tangent
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
##### Fonctions erreurs et gamma
(C++11)
fonction d'erreur
Original:
error function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
fonction d'erreur complémentaire
Original:
complementary error function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
logarithme naturel de la fonction gamma
Original:
natural logarithm of the gamma function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
fonction gamma
Original:
gamma function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
##### Fonction d'entiers les plus proches
entier le plus proche n'est pas inférieure à la valeur donnée
Original:
nearest integer not less than the given value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
entier le plus proche n'est pas supérieure à la valeur donnée
Original:
nearest integer not greater than the given value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
entier le plus proche n'est pas supérieure en grandeur à la valeur donnée
Original:
nearest integer not greater in magnitude than the given value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
(C++11)
(C++11)
entier le plus proche, arrondi en s'éloignant de zéro dans les cas de transition
Original:
nearest integer, rounding away from zero in halfway cases
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
entier le plus proche en utilisant le mode d'arrondi courant
Original:
nearest integer using current rounding mode
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
(C++11)
(C++11)
entier le plus proche en utilisant le mode d'arrondi courant à l'exception
si le résultat est différent
Original:
nearest integer using current rounding mode with
exception if the result differs
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
##### Fonctions de manipulation des nombres flottants
se décompose en un certain nombre mantisse et d'une puissance de 2
Original:
decomposes a number into significand and a power of 2
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
multiplie par un nombre 2 élevé à une puissance
Original:
multiplies a number by 2 raised to a power
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
décompose un nombre en parties entières et fractionnaires
Original:
decomposes a number into integer and fractional parts
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
(C++11)
multiplie par un nombre FLT_RADIX élevé à une puissance
Original:
multiplies a number by FLT_RADIX raised to a power
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
extrait exposant du nombre
Original:
extracts exponent of the number
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
extrait exposant du nombre
Original:
extracts exponent of the number
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
(C++11)
prochaine valeur représentable en virgule flottante vers la valeur donnée
Original:
next representable floating point value towards the given value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
copie le signe d'une valeur à virgule flottante
Original:
copies the sign of a floating point value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
##### Classification et comparaison
(C++11)
catégorise la valeur du point donné flottante
Original:
categorizes the given floating point value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
vérifie si le nombre donné a une valeur finie
Original:
checks if the given number has finite value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
vérifie si le nombre donné est infini
Original:
checks if the given number is infinite
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
vérifie si le nombre donné est NaN
Original:
checks if the given number is NaN
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
vérifie si le nombre donné est normal
Original:
checks if the given number is normal
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
vérifie si le nombre donné est négatif
Original:
checks if the given number is negative
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
vérifie si le premier argument de virgule flottante est supérieure à la seconde
Original:
checks if the first floating-point argument is greater than the second
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
vérifie si le premier argument de virgule flottante est supérieure ou égale à la seconde
Original:
checks if the first floating-point argument is greater or equal than the second
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
vérifie si le premier argument de virgule flottante est inférieure à la seconde
Original:
checks if the first floating-point argument is less than the second
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
vérifie si le premier argument de virgule flottante est inférieure ou égale à la seconde
Original:
checks if the first floating-point argument is less or equal than the second
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
vérifie si le premier argument de virgule flottante est inférieure ou supérieure à la seconde
Original:
checks if the first floating-point argument is less or greater than the second
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C++11)
vérifie si deux valeurs à virgule flottante ne sont pas ordonnés
Original:
checks if two floating-point values are unordered
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 

### [modifier]Types

 Defined in header `` `float_t` type en virgule flottante de taille float le plus efficace `double_t` type en virgule flottante de taille double le plus efficace Defined in header `` `div_t` type structuré, type de retour de la fonction std::div `ldiv_t` type structuré, type de retour de la fonction std::ldiv `lldiv_t` type structuré, type de retour de la fonction std::lldiv Defined in header `` `imaxdiv_t` type structuré, type de retour de la fonction std::imaxdiv

### [modifier]Macro constantes

Defined in header `<cmath>`
indique la valeur de débordement pour float, double et long double respectivement
Original:
indicates the overflow value for float, double and long double respectively
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(constante macro) 
(C++11)
Est évalué à l'infini positif ou la valeur garantissant le débordement d'un float
(constante macro)
(C++11)
Est évalué à un NaN (n'est pas un nombre) silencieux de type float type
Original:
evaluates to a quiet NaN of type float
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(constante macro)
définit le mécanisme de gestion des erreurs utilisée par les fonctions mathématiques courantes
Original:
defines the error handling mechanism used by the common mathematical functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(constante macro) 
##### ClassificationOriginal: ClassificationThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
l'indice d'une catégorie à virgule flottante
Original:
indicates a floating-point category
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(constante macro) 
Defined in header `<cfloat>`