pub fn uint_byte_width(
maxval: &IntLit,
alignment_bytes: Option<u32>,
) -> Option<u32>Expand description
Compute the FAB Bytes atom width for a Uint { maxval, alignment_bytes }.
If alignment_bytes is explicitly provided and non-zero, it is returned
directly. Otherwise follows the standard runtime convention:
<= u8::MAX → 1, <= u16::MAX → 2, <= u32::MAX → 4, <= u64::MAX → 8,
<= u128::MAX → 16, or minimal bytes for wider non-negative bounds.
Returns None for negative maxval.