#include <half.h>
Public Member Functions | |
HalfFloat () | |
MAXON_IMPLICIT | HalfFloat (Float32 floatVal) |
MAXON_ATTRIBUTE_FORCE_INLINE | operator Float32 () const |
String | ToString (const FormatStatement *formatStatement=nullptr) const |
UInt16 | GetBits () const |
MAXON_OPERATOR_EQUALITY (HalfFloat, _half) | |
Bool | operator< (const HalfFloat &other) const |
MAXON_OPERATOR_INEQUALITY (HalfFloat) | |
HashInt | GetHashCode () const |
Static Public Member Functions | |
static constexpr Bool | TriviallyHashable () |
Private Member Functions | |
UInt16 | CmpValue () const |
Private Attributes | |
UInt16 | _half |
HalfFloat | ( | ) |
MAXON_IMPLICIT HalfFloat | ( | Float32 | floatVal | ) |
MAXON_ATTRIBUTE_FORCE_INLINE operator Float32 | ( | ) | const |
String ToString | ( | const FormatStatement * | formatStatement = nullptr | ) | const |
UInt16 GetBits | ( | ) | const |
MAXON_OPERATOR_INEQUALITY | ( | HalfFloat | ) |
HashInt GetHashCode | ( | ) | const |
|
staticconstexpr |
|
private |
|
private |