Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Display for ApInt #13

Open
1 task
Robbepop opened this issue Jan 4, 2018 · 0 comments
Open
1 task

Implement Display for ApInt #13

Robbepop opened this issue Jan 4, 2018 · 0 comments

Comments

@Robbepop
Copy link
Owner

Robbepop commented Jan 4, 2018

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::Display for decimal representation of an ApInt instance's value.

Blocked By

  • Arithmetic Module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant