Clarify documentation of ceil/ceiling/floor functions.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d9ce54c0b83506473828444c30a96e3e2601fe7d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-06-09T15:58:00Z
Releases: 9.4.9
Clarify documentation of ceil/ceiling/floor functions.

Document these as "nearest integer >= argument" and "nearest integer <=
argument", which will hopefully be less confusing than the old formulation.
New wording is from Matlab via Dean Rasheed.

I changed the pg_description entries as well as the SGML docs.  In the
back branches, this will only affect installations initdb'd in the future,
but it should be harmless otherwise.

Discussion: <CAEZATCW3yzJo-NMSiQs5jXNFbTsCEftZS-Og8=FvFdiU+kYuSA@mail.gmail.com>

Files

PathChange+/−
doc/src/sgml/func.sgml modified +3 −3
src/include/catalog/pg_proc.h modified +6 −6