custom_float 0.3.1

Custom floating-point types
Documentation
1
2
3
4
5
6
7
use crate::Fp;

/// Khronos 10-bit unsigned mini-float
pub type KhronosFp10 = Fp<u16, false, 5, 0, 5, 2>;

/// Khronos 11-bit unsigned mini-float
pub type KhronosFp11 = Fp<u16, false, 5, 0, 6, 2>;