HalfFloat Class Reference

#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
 

Constructor & Destructor Documentation

◆ HalfFloat() [1/2]

HalfFloat ( )

◆ HalfFloat() [2/2]

Member Function Documentation

◆ operator Float32()

◆ ToString()

String ToString ( const FormatStatement formatStatement = nullptr) const

◆ GetBits()

UInt16 GetBits ( ) const

◆ MAXON_OPERATOR_EQUALITY()

MAXON_OPERATOR_EQUALITY ( HalfFloat  ,
_half   
)

◆ operator<()

Bool operator< ( const HalfFloat other) const

◆ MAXON_OPERATOR_INEQUALITY()

MAXON_OPERATOR_INEQUALITY ( HalfFloat  )

◆ GetHashCode()

HashInt GetHashCode ( ) const

◆ TriviallyHashable()

static constexpr Bool TriviallyHashable ( )
staticconstexpr

◆ CmpValue()

UInt16 CmpValue ( ) const
private

Member Data Documentation

◆ _half

UInt16 _half
private