macro_rules! i12 { ($val:literal) => { ... }; }
Returns a i12 checked at compile time.
i12
let x = i12!(0); assert_eq!(x.repr(), 0);