ufix 0.1.5

Flexible and usable generic fixed-point numeric type
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::{Digits, Exponent, Fix, Radix};
use bytemuck::{Pod, Zeroable};

unsafe impl<R, B, E> Zeroable for Fix<R, B, E>
where
    R: Radix<B>,
    B: Digits,
    E: Exponent,
{
}

unsafe impl<R, B, E> Pod for Fix<R, B, E>
where
    R: Radix<B>,
    B: Digits,
    E: Exponent,
{
}