-
Notifications
You must be signed in to change notification settings - Fork 19
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 *_{add,sub}_{signed,unsigned}
methods.
#24
Comments
{checked,overflowing,saturating,wrapping}_{add,sub}_{signed,unsigned}
methods.*_{add,sub}_{signed,unsigned}
methods.
Is there any reason (e.g. licensing incompatibility) to not just copy + paste the integer implementation macros from the core library? That seems to be the best option considering the goal is a common interface with the native integers. All of theses functions are derived from intrinsics already implemented. |
Would you copy the whole integer implementation macros? That's a nice idea and will experiment and see if it "just works" without modifications. |
see if it "just works" without modifications. It won't completely. At least not while strictly using stable features. I don't think we will lose much my deleting the unstable stuff though. I'll get to it. |
This branch implements methods analogous to those of the stable feature mixed_integer_ops. Closes #24.
They were stabilized in Rust 1.66.
The text was updated successfully, but these errors were encountered: