#include <half.h>
Classes | |
| union | uif |
Public Member Functions | |
| unsigned short | bits () const |
| half () | |
| 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 | |
| half & | operator*= (half h) |
| half & | operator*= (float f) |
| half & | operator+= (half h) |
| half & | operator+= (float f) |
| half | operator- () const |
| half & | operator-= (half h) |
| half & | operator-= (float f) |
| half & | operator/= (half h) |
| half & | operator/= (float f) |
| half & | operator= (half h) |
| half & | operator= (float f) |
| 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] |
| half::half | ( | ) | [inline] |
| half::half | ( | float | f | ) | [inline] |
| unsigned short half::bits | ( | ) | const [inline] |
| static short half::convert | ( | int | i | ) | [static, private] |
| 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 | ( | ) | [inline, static] |
| static float half::overflow | ( | ) | [static, private] |
| half half::posInf | ( | ) | [inline, static] |
| half half::qNan | ( | ) | [inline, static] |
| half half::round | ( | unsigned int | n | ) | const [inline] |
| void half::setBits | ( | unsigned short | bits | ) | [inline] |
| half half::sNan | ( | ) | [inline, static] |
const unsigned short half::_eLut[1<< 9] [static, private] |
const uif half::_toFloat[1<< 16] [static, private] |