Tom Lane 5f10b7a604 Fix possible internal overflow in numeric division.
div_var_fast() postpones propagating carries in the same way as mul_var(),
so it has the same corner-case overflow risk we fixed in 246693e5ae8a36f0,
namely that the size of the carries has to be accounted for when setting
the threshold for executing a carry propagation step.  We've not devised
a test case illustrating the brokenness, but the required fix seems clear
enough.  Like the previous fix, back-patch to all active branches.

Dean Rasheed
2015-11-17 15:46:47 -05:00
..
2015-11-16 22:26:32 -05:00
2015-05-23 21:35:49 -04:00
2015-11-05 13:52:40 -05:00
2015-11-16 21:39:23 -05:00
2015-11-17 06:53:07 -05:00