HalfFloat< FLOAT32TYPE > Class Template Reference

#include <half.h>

Public Member Functions

 HalfFloat ()
 
 HalfFloat (const HalfFloat &other)
 
 HalfFloat (HalfFloat &&other)
 
MAXON_IMPLICIT HalfFloat (FLOAT32TYPE floatVal)
 
MAXON_IMPLICIT HalfFloat (Int intVal)
 
const HalfFloatoperator= (const HalfFloat &other)
 
MAXON_ATTRIBUTE_FORCE_INLINE operator FLOAT32TYPE () const
 
String ToString (const FormatStatement *formatStatement=nullptr) const
 
UInt16 GetBits () const
 

Private Attributes

UInt16 _half
 

Constructor & Destructor Documentation

◆ HalfFloat() [1/5]

HalfFloat ( )

◆ HalfFloat() [2/5]

HalfFloat ( const HalfFloat< FLOAT32TYPE > &  other)

◆ HalfFloat() [3/5]

HalfFloat ( HalfFloat< FLOAT32TYPE > &&  other)

◆ HalfFloat() [4/5]

MAXON_IMPLICIT HalfFloat ( FLOAT32TYPE  floatVal)

◆ HalfFloat() [5/5]

Member Function Documentation

◆ operator=()

const HalfFloat& operator= ( const HalfFloat< FLOAT32TYPE > &  other)

◆ operator FLOAT32TYPE()

MAXON_ATTRIBUTE_FORCE_INLINE operator FLOAT32TYPE ( ) const

◆ ToString()

String ToString ( const FormatStatement formatStatement = nullptr) const

◆ GetBits()

UInt16 GetBits ( ) const

Member Data Documentation

◆ _half

UInt16 _half
private