API Documentation
FloatEncoder.h
1 // FloatEncoder.h
3 //
5 
6 namespace nkMaths
7 {
11  class FloatEncoder final
12  {
13  public :
14 
15  // Float 16
27  static unsigned short floatToHalf (float v) ;
38  static float halfToFloat (unsigned short v) ;
39  } ;
40 }
nkMaths
Encompasses all API of component NilkinsMaths.
Definition: IntVector.h:7
nkMaths::FloatEncoder
Provides functionalities to encode floats into different formats.
Definition: FloatEncoder.h:12
nkMaths::FloatEncoder::halfToFloat
static float halfToFloat(unsigned short v)
nkMaths::FloatEncoder::floatToHalf
static unsigned short floatToHalf(float v)