Closed vpiotr closed 2 months ago
For single operation only one rounding policy should be possible, right now two are accepted with undefined behavior.
For example:
const decimal operator/(const decimal<Prec2>& rhs) const {
in this operator rhs can have a different rounding specified.
Corrected
For single operation only one rounding policy should be possible, right now two are accepted with undefined behavior.
For example:
const decimal operator/(const decimal<Prec2>& rhs) const {
in this operator rhs can have a different rounding specified.