- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for euclidUpdate (0.11 sec)
-
src/math/big/int.go
q.abs = q.abs.setWord(v1) r.neg = even q.neg = !even r.Mul(A, r) q.Mul(B, q) A.Add(t, s) B.Add(r, q) } // euclidUpdate performs a single step of the Euclidean GCD algorithm // if extended is true, it also updates the cosequence Ua, Ub. func euclidUpdate(A, B, Ua, Ub, q, r, s, t *Int, extended bool) { q, r = q.QuoRem(A, B, r) *A, *B, *r = *B, *r, *A if extended {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 17:02:38 UTC 2024 - 33.1K bytes - Viewed (0)