recmo / uint

Rust Uint crate using const-generics
MIT License
170 stars 39 forks source link

feat: improve formatting implementations #370

Closed DaniPopes closed 4 months ago

DaniPopes commented 4 months ago

Improve formatting implementations by first writing to a local buffer, then using fmt::Formatter::pad_integral to apply padding and all the other flags.

This also standardizes the way the numbers are formatted to the same format that the standard library uses.