bigdecimal-rs
bigdecimal-rs copied to clipboard
impl {Add,Sub,Mul,Div}{,Assign} for {BigInt,BigUint}
This might need discussion, but this will be very useful where now we have to construct a BigDecimal from a BigInt (which moves the BigInt into the BigDecimal) before Sub/Mul/... can be used. Moving the BigInt is especially stupid when you want to reuse it later, where the Sub could just use a reference to a BigInt.
I hope I made myself clear here, especially since I would like to implement it myself in a few days.