std::numeric_limits<T>:: has_denorm
From cppreference.net
<
cpp
|
types
|
numeric limits
C++
Utilities library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Type support
| Basic types | |||||||||||||||||||||
| Fixed width integer types (C++11) | |||||||||||||||||||||
| Fixed width floating-point types (C++23) | |||||||||||||||||||||
|
|||||||||||||||||||||
| Numeric limits | |||||||||||||||||||||
| C numeric limits interface | |||||||||||||||||||||
| Runtime type information | |||||||||||||||||||||
|
|||||||||||||||||||||
std::numeric_limits
| Static constants | ||||
|
numeric_limits::has_denorm
|
||||
|
(C++11)
|
||||
| Static member functions | ||||
|
(C++11)
|
||||
| Helper types | ||||
|
static
const
std::
float_denorm_style
has_denorm
;
|
(hasta C++11) | |
|
static
constexpr
std::
float_denorm_style
has_denorm
;
|
(desde C++11)
(obsoleto en C++23) |
|
El valor de std:: numeric_limits < T > :: has_denorm identifica los tipos de punto flotante que admiten valores subnormales .
Especializaciones estándar
T
|
valor de std:: numeric_limits < T > :: has_denorm |
| /* no especializado */ | std::denorm_absent |
| bool | std::denorm_absent |
| char | std::denorm_absent |
| signed char | std::denorm_absent |
| unsigned char | std::denorm_absent |
| wchar_t | std::denorm_absent |
| char8_t (desde C++20) | std::denorm_absent |
| char16_t (desde C++11) | std::denorm_absent |
| char32_t (desde C++11) | std::denorm_absent |
| short | std::denorm_absent |
| unsigned short | std::denorm_absent |
| int | std::denorm_absent |
| unsigned int | std::denorm_absent |
| long | std::denorm_absent |
| unsigned long | std::denorm_absent |
| long long (desde C++11) | std::denorm_absent |
| unsigned long long (desde C++11) | std::denorm_absent |
| float | normalmente std::denorm_present |
| double | normalmente std::denorm_present |
| long double | normalmente std::denorm_present |
Véase también
|
[static]
|
devuelve el valor subnormal positivo más pequeño del tipo de punto flotante dado
(función miembro pública estática) |
|
indica los modos de desnormalización de punto flotante
(enumeración) |