NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::base::numeric_traits< Sint16 > Struct Template Reference

Numeric traits specialization for mi::Sint16. More...

Inheritance diagram for mi::base::numeric_traits< Sint16 >:
Inheritance graph
[legend]

Static Public Member Functions

static Sint16()  min () throw ()
  SHRT_MIN. More...
 
static Sint16()  max () throw ()
  SHRT_MAX. More...
 
static Sint16  negative_max () throw ()
  SHRT_MIN. More...
 
- Static Public Member Functions inherited from mi::base::numeric_traits_base< Sint16 >
static Sint16()  min () throw ()
  Returns the minimum finite value for T; for floating point types, returns the minimum positive value. More...
 
static Sint16()  max () throw ()
  Returns the maximum finite value for T. More...
 
static Sint16  negative_max () throw ()
  Returns the smallest finite negative value for T. More...
 
static Sint16  infinity () throw ()
  Returns an infinity value for T, if one exists, and T() otherwise. More...
 
static Sint16  quiet_NaN () throw ()
  Returns a quiet NaN value for T, if one exists, and T() otherwise. More...
 
static Sint16  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 Public Attributes inherited from mi::base::numeric_traits_base< Sint16 >
static const bool  is_specialized
  Constant that is true if and only if this traits is specialized for T. 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...
 

Detailed Description

template<>
struct mi::base::numeric_traits< Sint16 >

Numeric traits specialization for mi::Sint16.

Member Function Documentation

static Sint16() mi::base::numeric_traits< Sint16 >::max ( )
throw (
)
inlinestatic

SHRT_MAX.

static Sint16() mi::base::numeric_traits< Sint16 >::min ( )
throw (
)
inlinestatic

SHRT_MIN.

static Sint16 mi::base::numeric_traits< Sint16 >::negative_max ( )
throw (
)
inlinestatic

SHRT_MIN.

Member Data Documentation

const bool mi::base::numeric_traits< Sint16 >::is_specialized = true
static

true for specialization.