#rational #compile-time #arithmetic

ratio

Compile-time rational arithmetic

1 unstable release

Uses old Rust 2015

0.0.0 Jun 20, 2018

#14 in #rational

MIT license

3KB

Ratio

A library for compile-time rational arithmetic. At the moment, this crate contains only the Rational trait. However, when const generics land, it will be updated to include a Ratio<N, D> type which implements Rational.

No runtime deps