]> granicus.if.org Git - postgresql/commit
Another try at making numeric MODULO operator produce the right answer.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 14 Apr 2001 02:10:57 +0000 (02:10 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 14 Apr 2001 02:10:57 +0000 (02:10 +0000)
commit83c94a886c059e8d45cb2f5cd097df634ef5371d
treedd67f8eb5f38b281d5fd5e500c3231c83b2b60da
parentca224d2ba49ea8f8b4c30d05a755d281efbc8624
Another try at making numeric MODULO operator produce the right answer.
Although it was now using the right equation, it was making bogus choices
of the precision to compute intermediate results to.  I'm not sure this
is really right even yet, but it's better than before ...
src/backend/utils/adt/numeric.c