cmpute/dashu

Improve interoperability between types

cmpute opened this issue · 1 comments

  • Support comparison between FBig / IBig / RBig
    • Implement NumOrder between them
    • Implement AbsEq and AbsOrd between them
  • Support conversion from RBig to FBig (i.e. the following functions for RBig)
    fn to_float<B: Base, R: Round>(precision: usize) -> Approximation<FBig, Rounding>
    fn to_decimal<R: Round>(precision: usize) -> Approximation<DBig, Rounding>
    fn simplest_from_fbig<B, R>(limit: UBig) -> RBig or Relaxed
    

All implemented as in v0.4.1