1 2 3 4 5 6 7 8
use fp::*; #[test] fn good_conversions() { let x: I16<7, 0> = I32::<6, 0>::new(5).unwrap().into_fp(); let x: I32<8, 0> = 125i8.into_fp(); let x: u16 = U32::<16, 0>::new(5).unwrap().into_fp(); }