#include <half.h>
Public Member Functions | |
HalfFloat () | |
MAXON_IMPLICIT | HalfFloat (Float32 val) |
MAXON_IMPLICIT | HalfFloat (Int val) |
MAXON_IMPLICIT | HalfFloat (Int32 val) |
MAXON_IMPLICIT | HalfFloat (Float val) |
MAXON_ATTRIBUTE_FORCE_INLINE | operator Float32 () const |
MAXON_ATTRIBUTE_FORCE_INLINE HalfFloat | operator- () const |
MAXON_ATTRIBUTE_FORCE_INLINE HalfFloat | operator+ (const HalfFloat &other) |
MAXON_ATTRIBUTE_FORCE_INLINE HalfFloat | operator- (const HalfFloat &other) |
MAXON_ATTRIBUTE_FORCE_INLINE HalfFloat | operator* (const HalfFloat &other) |
MAXON_ATTRIBUTE_FORCE_INLINE HalfFloat | operator/ (const HalfFloat &other) |
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 | val | ) |
MAXON_IMPLICIT HalfFloat | ( | Int | val | ) |
MAXON_IMPLICIT HalfFloat | ( | Int32 | val | ) |
MAXON_IMPLICIT HalfFloat | ( | Float | val | ) |
MAXON_ATTRIBUTE_FORCE_INLINE operator Float32 | ( | ) | const |
MAXON_ATTRIBUTE_FORCE_INLINE HalfFloat operator- | ( | ) | const |
MAXON_ATTRIBUTE_FORCE_INLINE HalfFloat operator+ | ( | const HalfFloat & | other | ) |
MAXON_ATTRIBUTE_FORCE_INLINE HalfFloat operator- | ( | const HalfFloat & | other | ) |
MAXON_ATTRIBUTE_FORCE_INLINE HalfFloat operator* | ( | const HalfFloat & | other | ) |
MAXON_ATTRIBUTE_FORCE_INLINE HalfFloat operator/ | ( | const HalfFloat & | other | ) |
String ToString | ( | const FormatStatement * | formatStatement = nullptr | ) | const |
UInt16 GetBits | ( | ) | const |
MAXON_OPERATOR_INEQUALITY | ( | HalfFloat | ) |
HashInt GetHashCode | ( | ) | const |
|
staticconstexpr |
|
private |
|
private |