pub fn fit_unsigned(x: u64) -> Integer {
        match x {
            0...0x0000_0001 => I1,
            0...0x0000_00ff => I8,
            0...0x0000_ffff => I16,
            0...0xffff_ffff => I32,
            _ => I64
        }
    }
/// Find the smallest Integer type which can represent the unsigned value.
Find the smallest Integer type which can represent the unsigned value.
Find the smallest Integer type which can represent the unsigned value .
pub fn fit_unsigned(x: u64) -> Integer {
        match x {
            0...0x0000_0001 => I1,
            0...0x0000_00ff => I8,
            0...0x0000_ffff => I16,
            0...0xffff_ffff => I32,
            _ => I64
        }
    }
pub fn fit_unsigned ( x : u64 ) -> Integer { match x { 0 ... 0x0000_0001 => I1 , 0 ... 0x0000_00ff => I8 , 0 ... 0x0000_ffff => I16 , 0 ... 0xffff_ffff => I32 , _ => I64 } }
Find the smallest Integer type which can represent the unsigned value.
Find the smallest Integer type which can represent the unsigned value .
x
u64
x
u64