Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

NameDescription
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

NameDescription
Float8()

Constructor.

Float8(Geo::u8)

Constructor.

Float8(float)

Constructor.

Get()

Return the underlying representation.

operator float()

Convert to float.


Anchor
ac4bf60d81576ff5818d83bfe303b935a
ac4bf60d81576ff5818d83bfe303b935a

Geo::Float8< BIAS >::Float8

...

public: Float8()

...

Constructor.


Anchor
a55107fc45075aec347b3c31ad01159cc
a55107fc45075aec347b3c31ad01159cc

Geo::Float8< BIAS >::Float8

...

public: Float8
(
    Geo::u8 value
)

...

Constructor.


Anchor
a5e6879fc2fa4043eb6e4b088fdff604d
a5e6879fc2fa4043eb6e4b088fdff604d

Geo::Float8< BIAS >::Float8

...

public: Float8
(
    float value
)

...

Constructor.


Anchor
a4ddf0568ee966706f10457b37dd371b6
a4ddf0568ee966706f10457b37dd371b6

Geo::u8 Geo::Float8< BIAS >::Get

...

public: Geo::u8 Get() const

...

Return the underlying representation.


Anchor
a96fffa5008275c83778f6b526aeb7bdc
a96fffa5008275c83778f6b526aeb7bdc

Geo::Float8< BIAS >::operator float

...

public: operator float() const

...

Convert to float.