HDK
|
#include <Types.h>
Public Member Functions | |
Half (float value) | |
operator float () const | |
bool | operator== (Half rhs) const |
bool | operator!= (Half rhs) const |
bool | operator< (Half rhs) const |
bool | operator> (Half rhs) const |
bool | operator<= (Half rhs) const |
bool | operator>= (Half rhs) const |
Half | operator+ (Half rhs) const |
Half | operator- (Half rhs) const |
Half | operator* (Half rhs) const |
Half | operator/ (Half rhs) const |
Half & | operator+= (Half rhs) |
Half & | operator-= (Half rhs) |
Half & | operator*= (Half rhs) |
Half & | operator/= (Half rhs) |
Half | operator- () const |
A lightweight 16-bit half-precision float class. Based on the public-domain implementation by Paul Tessier.
|
inline |