Logo Search packages:      
Sourcecode: openexr version File versions  Download package

Classes | Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes

half Class Reference

Collaboration diagram for half:
Collaboration graph
[legend]

List of all members.

Classes

union  uif

Public Member Functions

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

Static Public Member Functions

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

Static Private Member Functions

static short convert (int i)
static float overflow ()

Private Attributes

unsigned short _h

Static Private Attributes

static const unsigned short _eLut [1<< 9]
static const uif _toFloat [1<< 16]

Detailed Description

Definition at line 90 of file half.h.


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

Generated by  Doxygen 1.6.0   Back to index