html_root_url
.Ratio
now implements One::is_one
and the Inv
trait.Ratio
now implements Sum
and Product
.Ratio
now supports i128
and u128
components with Rust 1.26+.Ratio
now implements the Pow
trait.num-rational
now requires rustc 1.15 or greater.std
feature, enabled by default, along with the implication that building without this feature makes this a #![no_std]
crate. A few methods now require FloatCore
instead of Float
.serde
dependency has been updated to 1.0, and rustc-serialize
is no longer supported by num-complex
.num-bigint
dependency has been updated to 0.2, and should be enabled using the bigint-std
feature. In the future, it may be possible to use the bigint
feature with no_std
.Contributors: @clarcharr, @cuviper, @Emerentius, @robomancer-or, @vks
Ratio
now implements CheckedAdd
, CheckedSub
, CheckedMul
, and CheckedDiv
.Ratio
now implements AddAssign
, SubAssign
, MulAssign
, DivAssign
, and RemAssign
with either Ratio
or an integer on the right side. The non-assignment operators now also accept integers as an operand.Ratio
operators now make fewer clone()
calls.Thanks to @c410-f3r, @cuviper, and @psimonyi for their contributions!
No prior release notes were kept. Thanks all the same to the many contributors that have made this crate what it is!