type
std::float_denorm_style
<limits>
Enum type for float denormalization style
Enumerated type with possible denormalization property for floating types. It is the type of member
denorm_style in the
numeric_limits class template.
Denormalization is the ability of a type to use a variable number of bits as exponent.
It is defined as:
1 2 3 4 5
|
enum float_denorm_style {
denorm_indeterminate = -1,
denorm_absent = 0,
denorm_present = 1
};
|
With the following possible values:
label | value | meaning |
denorm_intermediate | -1 | Denormalization style for the type cannot be determined at compile time |
denorm_absent | 0 | The type does not allow denormalized values |
denorm_present | 1 | The type allows denormalized values |
The default value in the non-specialized
numeric_limits class for its
denorm_style member is
denorm_absent (
0).
See also
- numeric_limits
- Numeric limits type (class template
)