std::numeric_limits<T>::denorm_min (3) - Linux Manuals
std::numeric_limits<T>::denorm_min: std::numeric_limits<T>::denorm_min
NAME
std::numeric_limits<T>::denorm_min - std::numeric_limits<T>::denorm_min
Synopsis
static T denorm_min() throw(); (until C++11)
static constexpr T denorm_min() noexcept; (since C++11)
Returns the minimum positive subnormal_value of the type T, if std::numeric_limits<T>::has_denorm != std::denorm_absent, otherwise returns std::numeric_limits<T>::min(). Only meaningful for floating-point types.
Return value
T std::numeric_limits<T>::denorm_min()
/* non-specialized */ T()
bool false
char 0
signed char 0
unsigned char 0
wchar_t 0
char8_t 0
char16_t 0
char32_t 0
short 0
unsigned short 0
int 0
unsigned int 0
long 0
unsigned long 0
long long 0
unsigned long long 0
float 2-149
double 2-1074
long double /* implementation-defined */
Example
Demonstates the underlying bit structure of the denorm_min() and prints the values
// Run this code
Possible output:
See also
min returns the smallest finite value of the given type
[static]
has_denorm identifies the denormalization style used by the floating-point type
[static]
lowest returns the lowest finite value of the given type
[static] (C++11)