pub fn cast_uint64_to_uint16<'a>(a: u64) -> Result<u16, EvalError>