jhpratt / deranged

Proof of concept ranged integers in Rust.
Apache License 2.0
38 stars 5 forks source link

feat: wrapping sub #13

Closed Easyoakland closed 11 months ago

Easyoakland commented 11 months ago

Implement wrapping subtraction. A lot easier since addition was already figured out.

One TODO. Should the rem_euclid_unsigned be exposed somewhere?

jhpratt commented 11 months ago

As with before, this one will take me a while. I'm working on some other things at the moment, so it's not a priority for me. With that said, I did push a commit with a couple minor changes, including bumping the Rust version in CI so it isn't a guaranteed failure.

jhpratt commented 11 months ago

I'll be taking a look at this in the very near future! The diff isn't the best (through no fault of yours), so it's not trivial to review.

jhpratt commented 11 months ago

Thanks again for the PR! No issues, so I'll release it momentarily.