Robbepop / apint

Arbitrary precision integers library.
Other
27 stars 4 forks source link

Implement Display for ApInt #13

Open Robbepop opened 6 years ago

Robbepop commented 6 years ago

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.

Blocked By