Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 2.15 KB

CHANGELOG.md

File metadata and controls

56 lines (39 loc) · 2.15 KB

Changelog

Unreleased

  • Implement Div<RBig> and Div<Relaxed> for UBig/IBig
  • Bugfix of division between big rational and big integers.

0.4.1

  • Implement AbsOrd between RBig/Relaxed and UBig/IBig/FBig.
  • Implement NumOrd between RBig/Relaxed and primitive integers / floats.
  • Add RBig::as_relaxed to use an RBig as an Relaxed instance.
  • Method RBig::to_float now will enforce the precision of the output even for zero (#45).

0.4.0

Add

  • Add is_int to RBig
  • Implement num-order::NumOrd between RBig/Relaxed and UBig/IBig/FBig.
  • Implement num-order::NumHash for RBig and Relaxed
  • Implement simpliest_from_float for RBig.

Change

  • Now feature num-traits and rand are not enabled by default, feature num-order is enabled instead.
  • Fix the bug in is_one of RBig and Relaxed.
  • RBig::square and Relaxed::square are renamed to sqr

Remove

  • PartialOrd is no longer implemented between RBig and Relaxed. Please use num-order::NumOrd instead.

0.3.2

Fix the Bug in multiplication between RBig and IBig.

0.3.1

  • Implement Sum and Product traits for RBig and Relaxed.
  • Implement Rem trait for RBig and Relaxed.
  • Implement dashu_base::{Abs, Inverse, DivEuclid, RemEuclid, DivRemEuclid, EstimatedLog2} traits for RBig and Relaxed.
  • Implement rand::distributions::uniform::SampleUniform for RBig.
  • Implement serde::{Serialize, Deserialize} for RBig and Relaxed
  • Implement num_traits::{Zero, One, Num, Signed, FromPrimitive, ToPrimitive, Pow, Euclid} for RBig and Relaxed
  • Add cubic(), pow() for RBig and Relaxed.
  • Add round() for RBig and Relaxed.
  • Add support of random rational numbers generation through Uniform01 and UniformRBig.
  • Add rand_v08 and num-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.

0.3.0 (Initial release)

  • Support basic arithmetic operations and numeric conversion.
  • Support Diophatine approximations.