The decNumberRescale is more convenient than quantize in some situations where rounding is desired. It would be nice to support a rescale method on d128.
I'm not sure exactly how that would be bound to the C implementation, since there's no decQuadRescale function (only decNumberRescale).
The
decNumberRescaleis more convenient thanquantizein some situations where rounding is desired. It would be nice to support arescalemethod ond128.I'm not sure exactly how that would be bound to the C implementation, since there's no
decQuadRescalefunction (onlydecNumberRescale).