Colobot
Classes | Namespaces | Functions
half.h File Reference

Implementation of half-precision floating point values. More...

#include <cstdint>
Include dependency graph for half.h:

Classes

struct  Math::half
 half-precision floating point type More...
 

Namespaces

namespace  Math
 Namespace for (new) math code.
 

Functions

uint16_t Math::FloatToHalf (float value)
 Converts float to half-float. More...
 
float Math::HaltToFloat (uint16_t value)
 Converts half-float to float. More...
 

Detailed Description

Implementation of half-precision floating point values.