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
;
|
(jusqu'à C++11) | |
|
static
constexpr
std::
float_denorm_style
has_denorm
;
|
(depuis C++11)
(obsolète en C++23) |
|
La valeur de std:: numeric_limits < T > :: has_denorm identifie les types à virgule flottante qui prennent en charge les valeurs dénormalisées .
Spécialisations standards
T
|
valeur de std:: numeric_limits < T > :: has_denorm |
| /* non spécialisé */ | 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 (depuis C++20) | std::denorm_absent |
| char16_t (depuis C++11) | std::denorm_absent |
| char32_t (depuis 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 (depuis C++11) | std::denorm_absent |
| unsigned long long (depuis C++11) | std::denorm_absent |
| float | généralement std::denorm_present |
| double | généralement std::denorm_present |
| long double | généralement std::denorm_present |
Voir aussi
|
[static]
|
renvoie la plus petite valeur sous-normale positive du type à virgule flottante donné
(fonction membre publique statique) |
|
indique les modes de dénormalisation en virgule flottante
(énumération) |