Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
Miscellaneous
Miscellaneous
complex
exception
functional
iterator
limits
locale
memory
new
numeric
stdexcept
typeinfo
utility
valarray
limits
float_denorm_style
float_round_style
numeric_limits


float_denorm_style

type
<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:
labelvaluemeaning
denorm_intermediate-1Denormalization style for the type cannot be determined at compile time
denorm_absent0The type does not allow denormalized values
denorm_present1The 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