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

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

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

Static Public Member Functions

static Float32()  min () throw ()
  FLT_MIN. More...
 
static Float32()  max () throw ()
  FLT_MAX. More...
 
static Float32  negative_max () throw ()
  -FLT_MAX More...
 
- Static Public Member Functions inherited from mi::base::numeric_traits_base< Float32 >
static Float32()  min () throw ()
  Returns the minimum finite value for T; for floating point types, returns the minimum positive value. More...
 
static Float32()  max () throw ()
  Returns the maximum finite value for T. More...
 
static Float32  negative_max () throw ()
  Returns the smallest finite negative value for T. More...
 
static Float32  infinity () throw ()
  Returns an infinity value for T, if one exists, and T() otherwise. More...
 
static Float32  quiet_NaN () throw ()
  Returns a quiet NaN value for T, if one exists, and T() otherwise. More...
 
static Float32  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 = true
  Has infinity value. More...
 
static const bool  has_quiet_NaN = true
  Has a quiet NaN value. More...
 
static const bool  has_signaling_NaN = true
  Has a signaling NaN value. More...
 
- Static Public Attributes inherited from mi::base::numeric_traits_base< Float32 >
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< Float32 >

Numeric traits specialization for mi::Float32.

Member Function Documentation

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

FLT_MAX.

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

FLT_MIN.

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

-FLT_MAX

Member Data Documentation

const bool mi::base::numeric_traits< Float32 >::has_infinity = true
static

Has infinity value.

const bool mi::base::numeric_traits< Float32 >::has_quiet_NaN = true
static

Has a quiet NaN value.

const bool mi::base::numeric_traits< Float32 >::has_signaling_NaN = true
static

Has a signaling NaN value.

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

true for specialization.