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
I noticed a possible inconsistency between documentation and code implementation in uint/src/algorithms/gcd/matrix.rs. The details can be found in the following code. The document require checking r1 >= r0, but the actual check is r0 >= r1
/// # Panics////// Panics if `r1 < r0`.// OPT: Would this be faster using extended binary gcd?// See <https://en.algorithmica.org/hpc/algorithms/gcd>#[inline]#[must_use]pubfn from_u64(mutr0:u64,mutr1:u64) -> Self{debug_assert!(r0 >= r1);
The text was updated successfully, but these errors were encountered:
I noticed a possible inconsistency between documentation and code implementation in uint/src/algorithms/gcd/matrix.rs. The details can be found in the following code. The document require checking r1 >= r0, but the actual check is r0 >= r1
The text was updated successfully, but these errors were encountered: