OpenVDB  9.0.1
Classes | Public Member Functions | Static Public Member Functions | List of all members
half Class Reference

#include <openvdb/math/Half.h>

Classes

union  uif
 

Public Member Functions

 half ()=default
 
 half (float f)
 
 ~half ()=default
 
 half (const half &)=default
 
 half (half &&) noexcept=default
 
 operator float () const
 
half operator- () const
 
halfoperator= (const half &h)=default
 
halfoperator= (half &&h) noexcept=default
 
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 ( )
default
half ( float  f)
inline
~half ( )
default
half ( const half )
default
half ( half &&  )
defaultnoexcept

Member Function Documentation

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