Fonctions mathématiques communes
De cppreference.com
Sommaire |
[modifier] Fonctions
Defined in header
<cmath> | |
Opérations de base | |
(C++11) |
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) | |
(C++11) |
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) |
fusionné multiply-add opération Original: fused multiply-add 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) |
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 (3√x) Original: computes cubic root (3√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 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) |
(C++11) |
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) |
(C++11) |
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
<cmath> | |
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
<cstdlib> | |
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
<cinttypes> | |
imaxdiv_t
|
type structuré, type de retour de la fonction std::imaxdiv |
[modifier] Macro constantes
Defined in header
<cmath> | |
(C++11) (C++11) |
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) |
(C++11) (C++11) (C++11) |
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) |
Original: Classification The 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> |