Support Forum       G3D Web Page     
Classes | Public Member Functions | Static Public Member Functions | List of all members
float16 Class Reference

Classes

union  uif
 

Public Member Functions

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

Static Public Member Functions

static float16 negInf ()
 
static float16 posInf ()
 
static float16 qNan ()
 
static float16 sNan ()
 

Constructor & Destructor Documentation

◆ float16() [1/2]

float16::float16 ( )
inline

◆ float16() [2/2]

float16::float16 ( float  f)
inline

Member Function Documentation

◆ bits()

unsigned short float16::bits ( ) const
inline

◆ isDenormalized()

bool float16::isDenormalized ( ) const
inline

◆ isFinite()

bool float16::isFinite ( ) const
inline

◆ isInfinity()

bool float16::isInfinity ( ) const
inline

◆ isNan()

bool float16::isNan ( ) const
inline

◆ isNegative()

bool float16::isNegative ( ) const
inline

◆ isNormalized()

bool float16::isNormalized ( ) const
inline

◆ isZero()

bool float16::isZero ( ) const
inline

◆ negInf()

float16 float16::negInf ( )
inlinestatic

◆ operator float()

float16::operator float ( ) const
inline

◆ operator*=() [1/2]

float16 & float16::operator*= ( float16  h)
inline

◆ operator*=() [2/2]

float16 & float16::operator*= ( float  f)
inline

◆ operator+=() [1/2]

float16 & float16::operator+= ( float16  h)
inline

◆ operator+=() [2/2]

float16 & float16::operator+= ( float  f)
inline

◆ operator-()

float16 float16::operator- ( ) const
inline

◆ operator-=() [1/2]

float16 & float16::operator-= ( float16  h)
inline

◆ operator-=() [2/2]

float16 & float16::operator-= ( float  f)
inline

◆ operator/=() [1/2]

float16 & float16::operator/= ( float16  h)
inline

◆ operator/=() [2/2]

float16 & float16::operator/= ( float  f)
inline

◆ operator=() [1/2]

float16 & float16::operator= ( float16  h)
inline

◆ operator=() [2/2]

float16 & float16::operator= ( float  f)
inline

◆ posInf()

float16 float16::posInf ( )
inlinestatic

◆ qNan()

float16 float16::qNan ( )
inlinestatic

◆ round()

float16 float16::round ( unsigned int  n) const
inline

◆ setBits()

void float16::setBits ( unsigned short  bits)
inline

◆ sNan()

float16 float16::sNan ( )
inlinestatic

documentation generated on Wed Nov 24 2021 08:01:52 using doxygen 1.8.15