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< Uint64 > Struct Template Reference

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

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

Static Public Member Functions

static Uint64() max () throw ()
 ULLONG_MAX. More...
 
static Uint64() min () throw ()
 Returns the minimum finite value for T (and for floating point types the minimum positive value). More...
 
static Uint64 negative_max () throw ()
 Returns the smallest finite negative value for T. More...
 
static Uint64 infinity () throw ()
 Returns an infinity value for T, if one exists, and T() otherwise. More...
 
static Uint64 quiet_NaN () throw ()
 Returns a quiet NaN value for T, if one exists, and T() otherwise. More...
 
static Uint64 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< Uint64 >

Numeric traits specialization for mi::Uint64.

Member Function Documentation

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

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

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

ULLONG_MAX.

static Uint64 () mi::base::numeric_traits_base< Uint64 >::min ( )
throw (
)
inlinestaticinherited

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.
static Uint64 mi::base::numeric_traits_base< Uint64 >::negative_max ( )
throw (
)
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()).

Returns
the smallest finite negative value for T.
static Uint64 mi::base::numeric_traits_base< Uint64 >::quiet_NaN ( )
throw (
)
inlinestaticinherited

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

static Uint64 mi::base::numeric_traits_base< Uint64 >::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< Uint64 >::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< Uint64 >::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< Uint64 >::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< Uint64 >::is_specialized = true
static

true for specialization.