This is the documentation for Enlighten.
class Geo Float8
template<int>
class Geo::Float8
8-bit floating point.
Range between 1 and 63488, scaled by 2^bias. 4 bits mantissa, 4 bits exponent
Variables
Name | Description |
---|---|
const float ms_MaxValue = ConstructFloat8(0xf, 0xf + BIAS) | The maximum value that can be represented. |
const float ms_MinValue = ConstructFloat8(0x0, 0x0 + BIAS) | The minimum value that can be represented. |
Functions
Name | Description |
---|---|
Float8() | Constructor. |
Float8(Geo::u8) | Constructor. |
Float8(float) | Constructor. |
Get() | Return the underlying representation. |
operator float() | Convert to float. |
Geo::Float8< BIAS >::Float8
public: Float8()
Constructor.
Geo::Float8< BIAS >::Float8
public: Float8
(
  Geo::u8 value
)
Constructor.
Geo::Float8< BIAS >::Float8
public: Float8
(
  float value
)
Constructor.
Geo::u8 Geo::Float8< BIAS >::Get
public: Geo::u8 Get() const
Return the underlying representation.
Geo::Float8< BIAS >::operator float
public: operator float() const
Convert to float.