Registry / Library

library · v0.1.1
Euclid Gcd
Find the greatest common divisor of two nonnegative integral measurements using Euclid's remainder algorithm.
Use Euclid Gcd
use vendor::euclid_gcd::euclid_gcd;
Run the example
nest demo euclid_gcd@0.1.1
blyxc native-run euclid_gcd-demo/main.blyx
Example source and expected output
use vendor::euclid_gcd::euclid_gcd;
fn main() {
println!(euclid_gcd(84,30));
}
Expected output
6
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.1 | Download ZIP · Browse files | d3a03794c9 | db7f1824a81f765ef66cc88aa985e04944f5b3d7fd20ffe42540305e28beec6f |
| 0.1.0 | Download ZIP · Browse files | 6349f23784 | 846a0f91f08b5f99f4dfb3a93a44240a7916f589c52319223e53cfe446f04804 |