std::float_round_style
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| Déclaré dans l'en-tête <limits>
|
||
enum float_round_style { round_indeterminate = -1, round_toward_zero = 0, round_to_nearest = 1, round_toward_infinity = 2, round_toward_neg_infinity = 3 }; |
||
Constantes d'énumération de type std::float_round_style indiquer le style arrondi utilisé par l'arithmétique à virgule flottante à chaque fois un résultat d'une expression est stockée dans un objet d'un type à virgule flottante. Les valeurs sont les suivantes:
Original:
Enumeration constants of type std::float_round_style indicate the rounding style used by floating-point arithmetics whenever a result of an expression is stored in an object of a floating-point type. The values are:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Constantes d'énumération
Nom
Original: Name The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
| std::round_indeterminate | Le style arrondi ne peut être déterminée
Original: Rounding style cannot be determined The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| std::round_toward_zero | Arrondi vers zéro
Original: Rounding toward zero The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| std::round_to_nearest | Arrondi vers le plus proche valeur représentable
Original: Rounding toward nearest representable value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| std::round_toward_infinity | Arrondi vers l'infini positif
Original: Rounding toward positive infinity The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| std::round_toward_neg_infinity | Arrondi vers l'infini négatif
Original: Rounding toward negative infinity The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Voir aussi
[ statique ]Original: static The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
identifie le type d'arrondi utilisé par le type Original: identifies the rounding style used by the type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (constante membre statique publique) |
direction d'arrondi en virgule flottante Original: floating-point rounding direction The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (constante macro) | |