The uint/int/i8 etc modules mostly share the same code but there are a few functions that are still specific to a single module. It should be possible to move these to the int-template or uint-template module as appropriate so they can be used for all integer types.
These are they:
- int::{ hash, parse_buf, from_str, to_str, str, pow }
- uint::{ div_ceil, div_round, div_floor, hash, iterate }
- uint::{ next_power_of_two, parse_buf, from_str, to_str, str }
- u64::{ to_str, str, from_str }
The
uint/int/i8etc modules mostly share the same code but there are a few functions that are still specific to a single module. It should be possible to move these to theint-templateoruint-templatemodule as appropriate so they can be used for all integer types.These are they: