- Implement
Div<RBig>
andDiv<Relaxed>
forUBig
/IBig
- Bugfix of division between big rational and big integers.
- Implement
AbsOrd
betweenRBig
/Relaxed
andUBig
/IBig
/FBig
. - Implement
NumOrd
betweenRBig
/Relaxed
and primitive integers / floats. - Add
RBig::as_relaxed
to use anRBig
as anRelaxed
instance. - Method
RBig::to_float
now will enforce the precision of the output even for zero (#45).
- Add
is_int
toRBig
- Implement
num-order::NumOrd
betweenRBig
/Relaxed
andUBig
/IBig
/FBig
. - Implement
num-order::NumHash
forRBig
andRelaxed
- Implement
simpliest_from_float
forRBig
.
- Now feature
num-traits
andrand
are not enabled by default, featurenum-order
is enabled instead. - Fix the bug in
is_one
ofRBig
andRelaxed
. RBig::square
andRelaxed::square
are renamed tosqr
PartialOrd
is no longer implemented betweenRBig
andRelaxed
. Please usenum-order::NumOrd
instead.
Fix the Bug in multiplication between RBig
and IBig
.
- Implement
Sum
andProduct
traits forRBig
andRelaxed
. - Implement
Rem
trait forRBig
andRelaxed
. - Implement
dashu_base::{Abs, Inverse, DivEuclid, RemEuclid, DivRemEuclid, EstimatedLog2}
traits forRBig
andRelaxed
. - Implement
rand::distributions::uniform::SampleUniform
forRBig
. - Implement
serde::{Serialize, Deserialize}
forRBig
andRelaxed
- Implement
num_traits::{Zero, One, Num, Signed, FromPrimitive, ToPrimitive, Pow, Euclid}
forRBig
andRelaxed
- Add
cubic()
,pow()
forRBig
andRelaxed
. - Add
round()
forRBig
andRelaxed
. - Add support of random rational numbers generation through
Uniform01
andUniformRBig
. - Add
rand_v08
andnum-traits_v02
feature flags to prevent breaking changes due to dependency updates in future - Fix the bug in number comparison.
- Re-export operation traits through the
ops
module.
- Support basic arithmetic operations and numeric conversion.
- Support Diophatine approximations.