Gregory Stark <stark@enterprisedb.com> writes:
> The source of the problem is the floating point arithmetic which is used to do
> the individual steps in the long division.
I don't think so. The ultimate source of the problem is that div_var
can only report a finite number of digits.
regards, tom lane