Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
half Class Reference

#include <mitsuba/core/half.h>

Classes

union  uif
 

Public Member Functions

 half ()
 
 half (float f)
 
 operator float () const
 
half operator- () const
 
halfoperator= (half h)
 
halfoperator= (float f)
 
halfoperator+= (half h)
 
halfoperator+= (float f)
 
halfoperator-= (half h)
 
halfoperator-= (float f)
 
halfoperator*= (half h)
 
halfoperator*= (float f)
 
halfoperator/= (half h)
 
halfoperator/= (float f)
 
half round (unsigned int n) const
 
bool isFinite () const
 
bool isNormalized () const
 
bool isDenormalized () const
 
bool isZero () const
 
bool isNan () const
 
bool isInfinity () const
 
bool isNegative () const
 
unsigned short bits () const
 
void setBits (unsigned short bits)
 

Static Public Member Functions

static half posInf ()
 
static half negInf ()
 
static half qNan ()
 
static half sNan ()
 

Constructor & Destructor Documentation

half::half ( )
inline
half::half ( float  f)
inline

Member Function Documentation

unsigned short half::bits ( ) const
inline
bool half::isDenormalized ( ) const
inline
bool half::isFinite ( ) const
inline
bool half::isInfinity ( ) const
inline
bool half::isNan ( ) const
inline
bool half::isNegative ( ) const
inline
bool half::isNormalized ( ) const
inline
bool half::isZero ( ) const
inline
half half::negInf ( )
inlinestatic
half::operator float ( ) const
inline
half & half::operator*= ( half  h)
inline
half & half::operator*= ( float  f)
inline
half & half::operator+= ( half  h)
inline
half & half::operator+= ( float  f)
inline
half half::operator- ( ) const
inline
half & half::operator-= ( half  h)
inline
half & half::operator-= ( float  f)
inline
half & half::operator/= ( half  h)
inline
half & half::operator/= ( float  f)
inline
half & half::operator= ( half  h)
inline
half & half::operator= ( float  f)
inline
half half::posInf ( )
inlinestatic
half half::qNan ( )
inlinestatic
half half::round ( unsigned int  n) const
inline
void half::setBits ( unsigned short  bits)
inline
half half::sNan ( )
inlinestatic

The documentation for this class was generated from the following file: