Espacios de nombres
Variantes

std::float_round_style

De cppreference.com
 
 
Biblioteca de servicios
 
Apoyo de tipos
Tipos básicos
Tipos fundamentales
Tipos enteros de anchura fija (C++11)
Límites numéricos
Interfaz de C de límites numéricos
Información de tipo
en tiempo de ejecución
Rasgos de tipos
Categorías de tipos
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
Propiedades de tipos
(C++11)
(C++11)
(C++14)
(C++11)
(C++11)(hasta C++20)
(C++11)(en desuso en C++20)
(C++11)
Constantes de rasgos de tipos
Metafunciones
(C++17)
Contexto de evaluación constante
Operaciones soportadas
Relaciones y consultas de propiedades
Modificaciones de tipos
(C++11)(C++11)(C++11)
Transformaciones de tipos
(C++11)
(C++11)
(C++17)
(C++11)(hasta C++20)(C++17)
 
std::numeric_limits
 
<tbody> </tbody>
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.

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.

Ver también

[estático]
identifica el estilo de redondeo utilizado por el 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.

(constante miembro pública estática) [editar]
de punto flotante de redondeo dirección
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 de macro) [editar]