bigdecimal-rs icon indicating copy to clipboard operation
bigdecimal-rs copied to clipboard

Div(BigDecimal, BigDecimal) should yield BigRational

Open rubdos opened this issue 8 years ago • 1 comments

Dividing two BigDecimal's should yield a BigRational, per feature. Additionally, division by another integer numeral could be implemented to yield a BigRational.

rubdos avatar Apr 05 '17 16:04 rubdos

I could see this being a desirable behavior for scientific use (although not what I in particular would expect or want), but if this was implemented, it'd be important for it to be ergonomic to turn a BigRational back into a BigDecimal.

kestred avatar Jul 16 '17 21:07 kestred