apint
apint copied to clipboard
Implement Display for ApInt
To display the contents of an ApInt users currently can only use its implementation of fmt::Debug. This is unfortunate for cases where the user just requires simple printing of values instead of debug-vision into the internals of an ApInt instance.
In issue 0x0asd the traits fmt::Binary, fmt::Octal, fmt::LowerHex and fmt::UpperHex are already proposed. These are simpler to implement as they do not depend on arithmetic components of ApInt that still have no robust implementation.
However, since decimal display representation is for many users the favoured representation this has high priority and should be implemented as soon as possible.
- [ ] Implement
fmt::Displayfor decimal representation of anApIntinstance's value.
Blocked By
- Arithmetic Module