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

[Feature Request] Trait for unsigned or signed integers + asserting two numbers have the same number of bits #154

Open
Kixiron opened this issue Jul 24, 2020 · 0 comments

Comments

@Kixiron
Copy link

Kixiron commented Jul 24, 2020

A trait for accepting a blanket integer, signed or unsigned would be absolutely fantastic. In addition to that, a mechanism for making sure two numbers (disregarding signedness) and making sure they have the same number of bits/width (e.g. U32 == P32 == N32) would be amazing

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

2 participants