Closed
Description
In the division impls we promote the LHS to the next biggest integer type (e.g uint32_t -> uint64_t) and then shrink it back down to return it in a struct that then gets passed ot the decimal constructor: https://github.com/cppalliance/decimal/blob/develop/include/boost/decimal/detail/div_impl.hpp#L80. We can remove all of the shrinking back down steps since the decimal constructor is already designed to handle big integer types. This may or may not apply to dec128 since I don't think the uint256_t case is handled in the constructor since that is only for internal usage.
- Remove duplicate ops from decimal32 and decimal64 add #673
- Remove duplicate ops from decimal32 and decimal64 sub #674
- Remove duplicate ops from decimal32 and decimal64 mul #675
- Remove duplicate ops from decimal32 and decimal64 div #672
- Remove duplicate ops from decimal128 add #678
- Remove duplicate ops from decimal128 sub #679
- Remove duplicate ops from decimal128 mul #680
- Remove duplicate ops from decimal128 div #681