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
;
|
(bis C++11) | |
|
static
constexpr
std::
float_denorm_style
has_denorm
;
|
(seit C++11)
(veraltet in C++23) |
|
Der Wert von std:: numeric_limits < T > :: has_denorm identifiziert die Gleitkommatypen, die subnormale Werte unterstützen.
Standardspezialisierungen
T
|
Wert von std:: numeric_limits < T > :: has_denorm |
| /* nicht spezialisiert */ | 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 (seit C++20) | std::denorm_absent |
| char16_t (seit C++11) | std::denorm_absent |
| char32_t (seit 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 (seit C++11) | std::denorm_absent |
| unsigned long long (seit C++11) | std::denorm_absent |
| float | üblicherweise std::denorm_present |
| double | üblicherweise std::denorm_present |
| long double | üblicherweise std::denorm_present |
Siehe auch
|
[static]
|
gibt den kleinsten positiven subnormalen Wert des angegebenen Gleitkommatyps zurück
(öffentliche statische Elementfunktion) |
|
kennzeichnet Gleitkomma-Denormalisierungsmodi
(Enumeration) |