std::float_round_style
De cppreference.com
| Definido en el archivo de encabezado <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 de enumeración de tipo std::float_round_style indicar el estilo de redondeo utilizado por la aritmética de punto flotante siempre que un resultado de una expresión se almacena en un objeto de un tipo de coma flotante. Los valores son:
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 de enumeración
Nombre
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 de redondeo no se puede determinar
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 | Redondeo hacia cero
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 | Redondeo hacia el valor más cercano representable
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 | Redondeo hacia el 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 | Redondeo hacia el 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. |
