Numeric traits specialization for mi::Uint64.
More...
#include <types.h>
|
| static const bool | is_specialized = true |
| | true for specialization. More...
|
| |
| static const bool | has_infinity |
| | Constant that is true if and only if T has an infinity representation. More...
|
| |
| static const bool | has_quiet_NaN |
| | Constant that is true if and only if T has a quiet NaN (not-a-number) representation. More...
|
| |
| static const bool | has_signaling_NaN |
| | Constant that is true if and only if T has a signaling NaN (not-a-number) representation. More...
|
| |
Numeric traits specialization for mi::Uint64.
◆ infinity()
|
|
inlinestaticnoexceptinherited |
Returns an infinity value for T, if one exists, and T() otherwise.
◆ min()
|
|
inlinestaticnoexceptinherited |
Returns the minimum finite value for T (and for floating point types the minimum positive value).
The value is equivalent to standard C constants CHAR_MIN, SHRT_MIN, FLT_MIN, DBL_MIN, etc.
- Returns
- the minimum finite value for
T.
◆ negative_max()
|
|
inlinestaticnoexceptinherited |
Returns the smallest finite negative value for T.
For signed integer types this value is typically (-"ULLONG_MAX.">max()-1). For unsigned integer types it is 0. For floating point types it is typically (-"ULLONG_MAX.">max()).
- Returns
- the smallest finite negative value for
T.
◆ quiet_NaN()
|
|
inlinestaticnoexceptinherited |
Returns a quiet NaN value for T, if one exists, and T() otherwise.
◆ signaling_NaN()
|
|
inlinestaticnoexceptinherited |
Returns a signaling NaN value for T, if one exists, and T() otherwise.
◆ has_infinity
Constant that is true if and only if T has an infinity representation.
You can get the infinity representation through the infinity() method.
◆ has_quiet_NaN
Constant that is true if and only if T has a quiet NaN (not-a-number) representation.
You can get the quiet NaN representation through the quiet_NaN() method.
◆ has_signaling_NaN
Constant that is true if and only if T has a signaling NaN (not-a-number) representation.
You can get the signaling NaN representation through the signaling_NaN() method.