MCPcopy Create free account
hub / github.com/EbTech/rust-algorithms / canon_egcd

Function canon_egcd

src/math/mod.rs:20–30  ·  view source on GitHub ↗

Assuming a != 0, finds smallest coef_b >= 0 such that a * coef_a + b * coef_b = c. # Panics Panics if a == 0.

(a: i64, b: i64, c: i64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

extended_gcdFunction · 0.85
absMethod · 0.80

Tested by

no test coverage detected