Numeric traits specialization for mi::Uint16. More...
Static Public Member Functions | |
static Uint16() | max () throw () |
USHRT_MAX. More... |
|
static Uint16() | min () throw () |
Returns the minimum finite value for T ; for floating point types, returns the minimum positive value. More... |
|
static Uint16 | negative_max () throw () |
Returns the smallest finite negative value for T . More... |
|
static Uint16 | infinity () throw () |
Returns an infinity value for T , if one exists, and T() otherwise. More... |
|
static Uint16 | quiet_NaN () throw () |
Returns a quiet NaN value for T , if one exists, and T() otherwise. More... |
|
static Uint16 | signaling_NaN () throw () |
Returns a signaling NaN value for T , if one exists, and T() otherwise. More... |
|
Static Public Attributes | |
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::Uint16.
|
inlinestaticinherited |
Returns an infinity value for T
, if one exists, and T()
otherwise.
|
inlinestatic |
USHRT_MAX.
|
inlinestaticinherited |
Returns the minimum finite value for T
; for floating point types, returns the minimum positive value.
The value is equivalent to standard C constants CHAR_MIN
, SHRT_MIN
, FLT_MIN
, DBL_MIN
, etc.
T
.
|
inlinestaticinherited |
Returns the smallest finite negative value for T
.
For signed integer types this value is typically (-max()-1). For unsigned integer types it is 0. For floating point types it is typically
(-max()).
T
.
|
inlinestaticinherited |
Returns a quiet NaN value for T
, if one exists, and T()
otherwise.
|
inlinestaticinherited |
Returns a signaling NaN value for T
, if one exists, and T()
otherwise.
|
staticinherited |
Constant that is true
if and only if T
has an infinity representation.
You can get the infinity representation through the infinity()
method.
|
staticinherited |
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.
|
staticinherited |
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.
|
static |
true
for specialization.