Espacios de nombres
Variantes

std::numeric_limits::has_denorm_loss

De cppreference.com
 
 
Biblioteca de servicios
Apoyo del lenguaje
Apoyo de tipos (tipos básicos, RTTI)
Macros de prueba de característica de la biblioteca (C++20)
Servicios de programa
Funciones variádicas
Apoyo de corrutinas (C++20)
Apoyo de contratos (C++26)
Comparación de tres vías (C++20)
(C++20)
(C++20)(C++20)(C++20)  
(C++20)(C++20)(C++20)

 
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
 
static const bool has_denorm_loss
(hasta C++11)
static constexpr bool has_denorm_loss
(desde C++11)
El valor de std::numeric_limits<T>::has_denorm_loss es true para todos los tipos de punto flotante T capaz de distinguir la pérdida de precisión debido a la desnormalización de otras causas de resultados inexactos .
Original:
The value of std::numeric_limits<T>::has_denorm_loss is true for all floating-point types T capable of distinguishing loss of precision due to denormalization from other causes of inexact result.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Especializaciones estándar

T
valor de std::numeric_limits<T>::has_denorm_loss
Original:
value of std::numeric_limits<T>::has_denorm_loss
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
/* non-specialized */ false
bool false
char false
signed char false
unsigned char false
wchar_t false
char16_t false
char32_t false
short false
unsigned short false
int false
unsigned int false
long false
unsigned long false
long long false
unsigned long long false
float
definido por la implantación
Original:
implementation-defined
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
double
definido por la implantación
Original:
implementation-defined
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
long double
definido por la implantación
Original:
implementation-defined
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Notas

Compatible con el estándar IEE de punto flotante de 754 implementaciones pueden detectar el desbordamiento de coma flotante en tres momentos predefinidos:
Original:
Standard-compliant IEE 754 floating-point implementations may detect the floating-point underflow at three predefined moments:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

1)

después del cálculo de un resultado con valor absoluto menor que std::numeric_limits<T>::min(), dicho ejercicio detecta tinyness antes de redondear .
Original:
after computation of a result with absolute value smaller than std::numeric_limits<T>::min(), such implementation detects tinyness before rounding.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

2)

después de redondear el resultado a los bits std::numeric_limits<T>::digits, si el resultado es muy pequeño, tal aplicación detecta tinyness después de redondear .
Original:
after rounding of the result to std::numeric_limits<T>::digits bits, if the result is tiny, such implementation detects tinyness after rounding.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

3)

si la conversión del resultado redondeado se formen pequeñas subnormal resultó en la pérdida de precisión, dicha aplicación detecta la pérdida de denorm .
Original:
if the conversion of the rounded tiny result to subnormal form resulted in the loss of precision, such implementation detects denorm loss.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Ejemplo

Ver también

[estático]
identifica tipos de punto flotante que detectan tinyness antes de redondeo
Original:
identifies floating-point types that detect tinyness before rounding
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]
[estático]
identifica el estilo desnormalización utilizado por el tipo de punto flotante
Original:
identifies the denormalization style used by the floating-point 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]