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>| Definido no cabeçalho <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 }; |
||
Enumeração constantes do tipo std::float_round_style indicam o estilo usado por arredondamento de ponto flutuante aritmética sempre que um resultado de uma expressão é armazenada em um objeto de um tipo de ponto flutuante. Os valores são os seguintes:
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.
Enumeração constantes
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 | Estilo arredondamento não pode ser determinada
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 | Arredondamento para 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 | Arredondamento para valor mais próximo representável
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 | Arredondamento em direção ao 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 | Arredondamento em direção ao 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. |
Veja também
[estática] |
identifica o estilo arredondamento usado pelo 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. (membro estático público constante) |
de ponto flutuante direção arredondamento 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 constante) | |