gcds

Crates.iogcds
lib.rsgcds
version1.0.0
created_at2025-12-30 20:19:29.445855+00
updated_at2025-12-30 20:19:29.445855+00
descriptionEfficient implementations of gcd algorithms
homepagehttps://github.com/hsang/gcds
repositoryhttps://github.com/hsang/gcds
max_upload_size
id2013247
size49,146
Hugo (hsanzg)

documentation

README

gcds

Crates.io docs.rs Build status

This crate implements several algorithms for finding the greatest common divisor of two single-precision numbers.

The greatest common divisor $\gcd(u,v)$ of two integers $u$ and $v$, not both zero, is the largest integer that evenly divides them both. This definition does not apply when $u$ and $v$ are both zero, since every number divides zero; for convenience, all the algorithms adhere to the convention that $\gcd(0,0)=0$.

License

MIT © Hugo Sanz González

Commit count: 0

cargo fmt