std::float_round_style
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <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 }; |
||
Costanti di enumerazione di tipo std::float_round_style indicare lo stile di arrotondamento usato da virgola mobile aritmetica ogniqualvolta un risultato di un'espressione è memorizzata in un oggetto di un tipo a virgola mobile. I valori sono:
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.
Censimento costanti
Nome
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 | Stile arrotondamento non può essere determinata
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 | Arrotondamento verso lo zero
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 | Arrotondamento verso il valore più vicino rappresentabile
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 | Arrotondamento verso l'infinito positivo
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 | Arrotondamento verso l'infinito negativo
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. |
Vedi anche
[statico] |
identifica lo stile di arrotondamento usato dal tipo 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. (pubblico membro statico costante) |
virgola mobile arrotondamento direzione 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. (macro costante) | |