saxbophone / arby

Arbitrary precision arithmetic in C++, even at compile-time
https://saxbophone.com/arby/
Mozilla Public License 2.0
8 stars 1 forks source link

DivisionResult for divmod #148

Closed saxbophone closed 1 year ago

saxbophone commented 1 year ago

Division with remainder now returns a structured-binding-supporting type with quotient and remainder.

This type also implicitly converts to Interval, to get floor and ceiling (but these can also be got individually).

Closes #137