You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, 0 is indeed a multiple of 0 and as such true should be returned.
Since this is the only edge case, this can be fixed very easily, and I have opened a pull request (#47) accordingly.
The text was updated successfully, but these errors were encountered:
Currently, running
BigUint::zero().is_multiple_of(&BigUint::zero())
panics, since the implementation attemps to perform a modular divisionnum-integer/src/lib.rs
Line 888 in d5267dc
However, 0 is indeed a multiple of 0 and as such true should be returned.
Since this is the only edge case, this can be fixed very easily, and I have opened a pull request (#47) accordingly.
The text was updated successfully, but these errors were encountered: