custom_float 0.3.1

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

/// Single precision hexadecimal floating point format
pub type HFpShort = Fp<u32, true, 7, 0, 24, 2>;

/// Double precision hexadecimal floating point format
pub type HFpLong = Fp<u64, true, 7, 0, 56, 2>;