With no conclusion on this, I have added a TODO item:
* Add NUMERIC division operator that doesn't round?
Currently NUMERIC _rounds_ the result to the specified precision.
This means division can return a result that multiplied by the
divisor is greater than the dividend, e.g. this
Have we made any decision on whether the old/new NUMERIC %(mod) code was
correct, and now to handle rounding? Should we offer a non-rounding
division operator for NUMERIC?
---
Paul Tillotson wrote:
Bruce Momjian wrote:
Tom Lane wrote:
Christopher Kings-Lynne [EMAIL PROTECTED] writes:
No, I don't think so. It doesn't seem to be something that enough
people use to risk the change in behavior --- it might break something
that was working. But, if folks want it backported we can do it. It is
only a