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

Add num trait implementations to U256 and I256 #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sigurd4
Copy link

@sigurd4 sigurd4 commented Feb 10, 2024

I'm developing a crate for customizable floating point types and need your U256 type to make a 256-bit octuple float. However my code relies on various traits from the crate num. I've implemented these for both U256 and I256 as an optional feature. It would be useful to have the traits implemented for it, either from this crate, or from the num-traits and num-integer crates. This way, everything is standardized and generic. I hope my contribution is welcome.

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

Successfully merging this pull request may close these issues.

1 participant