Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axbTZ-00050f-3s for pgsql-docs@arkaria.postgresql.org; Tue, 03 May 2016 14:39:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1axbTY-0005qH-Kq for pgsql-docs@arkaria.postgresql.org; Tue, 03 May 2016 14:39:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1axbTY-0005q5-CZ; Tue, 03 May 2016 14:39:00 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1axbTT-0000Ds-RQ; Tue, 03 May 2016 14:38:59 +0000 Received: from static-98-116-12-50.nycmny.fios.verizon.net ([98.116.12.50] helo=ph33r-retina.home) by meldrar.postgresql.org with esmtpsa (TLS1.0:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1axbTN-0007Ie-KV; Tue, 03 May 2016 14:38:55 +0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [webmaster] Documentation Error: Ceiling, Floor From: "Jonathan S. Katz" In-Reply-To: <5728689A.407@gmx.net> Date: Tue, 3 May 2016 10:38:44 -0400 Cc: webmaster@postgresql.org, pgsql-core@postgresql.org, pgsql-docs@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <6FB5E713-894C-4C8C-A5C0-7FB16000C2F5@postgresql.org> References: <5728689A.407@gmx.net> To: "patrick s." X-Mailer: Apple Mail (2.3124) X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Hi Patrick, > On May 3, 2016, at 5:00 AM, patrick s. wrote: >=20 > Dear PostgreSQL developers and webmasters >=20 > It appears that the documentation of the mathematical functions "ceiling"= and "floor" are wrong (inverted). >=20 > result is correct and as one would expect:: > select ceiling(43.8); =3D>44 > select floor(43.8); =3D>43 >=20 > documentation is misleading: > select ceiling(43.8); =3D>43 > select floor(43.8); =3D>44 >=20 > found in: > http://www.postgresql.org/docs/9.1/static/functions-math.html > http://www.postgresql.org/docs/7.4/static/functions-math.html This should be sent to pgsql-docs (which I have CC=E2=80=99d) Thanks! Jonathan --=20 Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs