# MATH_ERRNO, MATH_ERREXCEPT, math_errhandling

< cpp‎ | numeric‎ | math

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>
 Déclaré dans l'en-tête #define MATH_ERRNO        1 (depuis C++11) #define MATH_ERREXCEPT    2 (depuis C++11) #define math_errhandling  /*implementation defined*/ (depuis C++11)
La macro `math_errhandling` constant se développe en une expression de int type qui est soit égal à `MATH_ERRNO` ou égale à `MATH_ERREXCEPT` ou égale à leur bit à bit OU (MATH_ERRNO | MATH_ERREXCEPT) .
Original:
The macro constant `math_errhandling` expands to an expression of type int that is either equal to `MATH_ERRNO`, or equal to `MATH_ERREXCEPT`, or equal to their bitwise OR (MATH_ERRNO | MATH_ERREXCEPT).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
La valeur de `math_errhandling` indique le type de traitement d'erreur qui est effectuée par les opérateurs à virgule flottante et fonctions:
Original:
The value of `math_errhandling` indicates the type of error handling that is performed by the floating-point operators and functions:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 Constante Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. Explanation `MATH_ERREXCEPT` indique que exceptions de virgule flottante sont utilisés: au moins FE_DIVBYZERO, FE_INVALID et FE_OVERFLOW sont définis dans .Original: indicates that floating-point exceptions are used: at least FE_DIVBYZERO, FE_INVALID, and FE_OVERFLOW are defined in .The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. `MATH_ERRNO` indique que les opérations en virgule flottante utiliser le errno variable rapporter des erreurs .Original: indicates that floating-point operations use the variable errno to report errors.The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.

Les conditions suivantes erreurs à virgule flottante sont reconnus:
Original:
The following floating-point error conditions are recognized:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Erreur de domaine # (paramètre d'entrée est en dehors de la plage dans laquelle le fonctionnement est définie mathématiquement, par exemple std::sqrt(-1), std::log(-1), ou std::acos(2)). Si le bit est réglé `MATH_ERRNO`, EDOM est attribué à errno. Si le bit est réglé MATH_ERREXCEPT, FE_INVALID est élevé .
Original:
# Domain error (input argument is outside the range in which the operation is mathematically defined, e.g. std::sqrt(-1), std::log(-1), or std::acos(2)). If `MATH_ERRNO` bit is set, EDOM is assigned to errno. If MATH_ERREXCEPT bit is set, FE_INVALID is raised.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Erreur de plage # (le résultat mathématique ne peut pas être représenté en tant qu'objet du type spécifié, par exemple std::atanh(-1), std::log(0.0) ou std::lgamma(0.0)). Si le bit est réglé MATH_ERRNO, ERANGE est attribué à errno. Si le bit est réglé MATH_ERREXCEPT, FE_DIVBYZERO ou FE_OVERFLOW est élevé .
Original:
# Range error (the mathematical result cannot be represented as the object of specified type, e.g. std::atanh(-1), std::log(0.0), or std::lgamma(0.0)). If MATH_ERRNO bit is set, ERANGE is assigned to errno. If MATH_ERREXCEPT bit is set, FE_DIVBYZERO or FE_OVERFLOW is raised.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Débordement # (le résultat mathématique est fini, mais trop grand pour être représenté sans erreur d'arrondi extrême, des fonctions telles que par exemple std::exp avec des arguments suffisamment grandes). Si le bit est réglé MATH_ERRNO, ERANGE est attribué à errno. Si le bit est réglé MATH_ERREXCEPT, FE_OVERFLOW est élevé .
Original:
# Overflow (the mathematical result is finite, but too big to be represented without extreme roundoff error, e.g. functions such as std::exp with sufficiently large arguments). If MATH_ERRNO bit is set, ERANGE is assigned to errno. If MATH_ERREXCEPT bit is set, FE_OVERFLOW is raised.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
# Débordement (le résultat mathématique est non-nul, mais trop petit pour être représenté sans erreur d'arrondi extrême, par exemple, le résultat est inférieur à la normale, comme dans std::sin(subnormal) ou pour de nombreuses autres fonctions avec des arguments inférieurs à la normale). Si le bit est réglé MATH_ERRNO, ERANGE peuvent être affectés à errno. Si le bit est réglé MATH_ERREXCEPT, FE_UNDERFLOW peut être soulevée .
Original:
# Underflow (the mathematical result is non-zero, but too small to be represented without extreme roundoff error, e.g. the result is subnormal, as in std::sin(subnormal) or for many other functions with subnormal arguments). If MATH_ERRNO bit is set, ERANGE may be assigned to errno. If MATH_ERREXCEPT bit is set, FE_UNDERFLOW may be raised.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.