This gives us the ability to represent larger decimals. The trade-off is we could technically create an invalid ExDecimal in our Rust code. But I don't think it's a practical concern: we just need to be careful to always call .abs() when we instantiate it.
Changes our
ExDecimal
representation to:This gives us the ability to represent larger decimals. The trade-off is we could technically create an invalid
ExDecimal
in our Rust code. But I don't think it's a practical concern: we just need to be careful to always call.abs()
when we instantiate it.