# Common mathematical functions

< c‎ | numeric

C
 Langue Tapez soutien La gestion dynamique de la mémoire Erreur de manipulation Programme des services publics Utilitaires date et l'heure Bibliothèque cordes Algorithmes Numerics D'entrée / sortie de support Support de localisation Le support des threads (C11) Les opérations atomiques (C11)

Numerics
 Fonctions mathématiques courantes Virgule flottante environnement Complex number arithmetics Génération de nombres aléatoires Type générique mathématiques

Fonctions mathématiques courantes
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.
 abslabsllabsimaxabs (C99)
 fabs
 divldivlldivimaxdiv (C99)
 fmod
 remainder (C99)
 remquo (C99)
 fma (C99)
 fmax (C99)
 fmin (C99)
 fdim (C99)
 nannanfnanl (C99) (C99) (C99)
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 (C99)
 expm1 (C99)
 log
 log10
 log1p (C99)
 log2 (C99)
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 (C99)
 hypot (C99)
 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 (C99)
 acosh (C99)
 atanh (C99)
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 (C99)
 erfc (C99)
 lgamma (C99)
 tgamma (C99)
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 (C99) (C99) (C99)
 trunc (C99)
 nearbyint (C99)
 rintlrintllrint (C99) (C99) (C99)
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 (C99) (C99)
 ilogb (C99)
 logb (C99)
 frexp
 modf
 nextafternexttoward (C99) (C99)
 copysign (C99)
Classification
Original:
Classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 fpclassify (C99)
 isfinite (C99)
 isinf (C99)
 isnan (C99)
 isnormal (C99)
 signbit (C99)
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 (C99) (C99)
 FP_NORMALFP_SUBNORMALFP_ZEROFP_INFINITEFP_NAN (C99) (C99) (C99) (C99) (C99)

## Sommaire

### [modifier]Fonctions

Defined in header `<math.h>`
##### Opérations de baseOriginal: Basic operationsThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
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) 
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) 
(C99)
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) 
(C99)
Original:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) 
(C99)
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) 
(C99)
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) 
(C99)
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) 
(C99)
(C99)
(C99)
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) 
##### Les fonctions exponentiellesOriginal: Exponential functionsThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
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) 
(C99)
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) 
(C99)
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) 
(C99)
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) 
(C99)
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) 
##### Les fonctions de puissanceOriginal: Power functionsThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
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) 
(C99)
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) 
(C99)
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) 
##### Les fonctions trigonométriquesOriginal: Trigonometric functionsThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
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 hyperboliquesOriginal: Hyperbolic functionsThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
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) 
(C99)
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) 
(C99)
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) 
(C99)
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) 
##### Erreur fonctions et gammaOriginal: Error and gamma functionsThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
(C99)
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) 
(C99)
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) 
(C99)
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) 
(C99)
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) 
##### Entier le plus proche opérations en virgule flottanteOriginal: Nearest integer floating point operationsThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
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) 
(C99)
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) 
(C99)
(C99)
(C99)
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) 
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) 
(C99)
(C99)
(C99)
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) 
##### Flottant fonctions de manipulation de pointsOriginal: Floating point manipulation functionsThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
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) 
(C99)
(C99)
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) 
(C99)
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) 
(C99)
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) 
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) 
(C99)
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) 
##### ClassificationOriginal: ClassificationThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
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) 
(C99)
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) 
(C99)
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) 
(C99)
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) 
(C99)
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) 
(C99)
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) 

### [modifier]Macro constantes

Defined in header `<math.h>`
indique une valeur trop grande pour être représentable (infini) par float, double et long double respectivement
Original:
indicates value too big to be representable (infinity) by 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) 
##### ClassificationOriginal: ClassificationThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
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)