NVIDIA Iray: Math API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::base::numeric_traits< Sint8 > Struct Template Reference

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

+ Inheritance diagram for mi::base::numeric_traits< Sint8 >:

Static Public Member Functions

static Sint8() min () throw ()
 SCHAR_MIN. More...
 
static Sint8() max () throw ()
 SCHAR_MAX. More...
 
static Sint8 negative_max () throw ()
 SCHAR_MIN. More...
 
static Sint8 infinity () throw ()
 Returns an infinity value for T, if one exists, and T() otherwise. More...
 
static Sint8 quiet_NaN () throw ()
 Returns a quiet NaN value for T, if one exists, and T() otherwise. More...
 
static Sint8 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...
 

Detailed Description

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

Numeric traits specialization for mi::Sint8.

Member Function Documentation

static Sint8 mi::base::numeric_traits_base< Sint8 >::infinity ( )
throw (
)
inlinestaticinherited

Returns an infinity value for T, if one exists, and T() otherwise.

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

SCHAR_MAX.

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

SCHAR_MIN.

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

SCHAR_MIN.

static Sint8 mi::base::numeric_traits_base< Sint8 >::quiet_NaN ( )
throw (
)
inlinestaticinherited

Returns a quiet NaN value for T, if one exists, and T() otherwise.

static Sint8 mi::base::numeric_traits_base< Sint8 >::signaling_NaN ( )
throw (
)
inlinestaticinherited

Returns a signaling NaN value for T, if one exists, and T() otherwise.

Member Data Documentation

const bool mi::base::numeric_traits_base< Sint8 >::has_infinity
staticinherited

Constant that is true if and only if T has an infinity representation.

You can get the infinity representation through the infinity() method.

const bool mi::base::numeric_traits_base< Sint8 >::has_quiet_NaN
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.

const bool mi::base::numeric_traits_base< Sint8 >::has_signaling_NaN
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.

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

true for specialization.