Fix bugs in NUMERIC ceil() and floor() functions. ceil(0) returned 1,
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Jan 2000 02:21:44 +0000 (02:21 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Jan 2000 02:21:44 +0000 (02:21 +0000)
commit08195a43f318581e373792fd30e00813ab3ad9fc
treef8c9b94a65f383885cc5e1bd2df5dc3a5a1ca3b5
parent6d1efd76fb9852b8bc242dcaf35916090d7c5899
Fix bugs in NUMERIC ceil() and floor() functions.  ceil(0) returned 1,
and both would insert random junk digits if given an input that was an
exact multiple of 10.
src/backend/utils/adt/numeric.c