Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axcDS-0008Go-PJ for pgsql-docs@arkaria.postgresql.org; Tue, 03 May 2016 15:26:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1axcDR-0002Id-Jf for pgsql-docs@arkaria.postgresql.org; Tue, 03 May 2016 15:26:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1axcDR-0002IX-8s for pgsql-docs@postgresql.org; Tue, 03 May 2016 15:26:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1axcDO-0005G6-OH; Tue, 03 May 2016 15:26:24 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u43FQGXu003483; Tue, 3 May 2016 11:26:16 -0400 From: Tom Lane To: "Jonathan S. Katz" cc: "patrick s." , pgsql-docs@postgresql.org Subject: Re: [webmaster] Documentation Error: Ceiling, Floor In-reply-to: <6FB5E713-894C-4C8C-A5C0-7FB16000C2F5@postgresql.org> References: <5728689A.407@gmx.net> <6FB5E713-894C-4C8C-A5C0-7FB16000C2F5@postgresql.org> Comments: In-reply-to "Jonathan S. Katz" message dated "Tue, 03 May 2016 10:38:44 -0400" Date: Tue, 03 May 2016 11:26:16 -0400 Message-ID: <3482.1462289176@sss.pgh.pa.us> 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 [ trimming 100%-inappropriate crossposts ] > On May 3, 2016, at 5:00 AM, patrick s. wrote: >> documentation is misleading: >> select ceiling(43.8); =>43 >> select floor(43.8); =>44 >> >> found in: >> http://www.postgresql.org/docs/9.1/static/functions-math.html >> http://www.postgresql.org/docs/7.4/static/functions-math.html AFAICS, those examples refer to -43.8 not 43.8, and are quite correct. regards, tom lane -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs