pub(crate) const ASCII_TO_INT_FACTOR: u8 = 48;
pub(crate) const POW10_U8: [u8; 3] = [100, 10, 1];
pub(crate) const POW10_U16: [u16; 5] = [10_000, 1_000, 100, 10, 1];
pub(crate) const POW10_U32: [u32; 10] = [
1_000_000_000,
100_000_000,
10_000_000,
1_000_000,
100_000,
10_000,
1_000,
100,
10,
1,
];
pub(crate) const POW10_U64: [u64; 20] = [
10_000_000_000_000_000_000,
1_000_000_000_000_000_000,
100_000_000_000_000_000,
10_000_000_000_000_000,
1_000_000_000_000_000,
100_000_000_000_000,
10_000_000_000_000,
1_000_000_000_000,
100_000_000_000,
10_000_000_000,
1_000_000_000,
100_000_000,
10_000_000,
1_000_000,
100_000,
10_000,
1_000,
100,
10,
1,
];
#[cfg(target_pointer_width = "32")]
pub(crate) const POW10_USIZE: [usize; 10] = [
1_000_000_000,
100_000_000,
10_000_000,
1_000_000,
100_000,
10_000,
1_000,
100,
10,
1,
];
#[cfg(target_pointer_width = "64")]
pub(crate) const POW10_USIZE: [usize; 20] = [
10_000_000_000_000_000_000,
1_000_000_000_000_000_000,
100_000_000_000_000_000,
10_000_000_000_000_000,
1_000_000_000_000_000,
100_000_000_000_000,
10_000_000_000_000,
1_000_000_000_000,
100_000_000_000,
10_000_000_000,
1_000_000_000,
100_000_000,
10_000_000,
1_000_000,
100_000,
10_000,
1_000,
100,
10,
1,
];