Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bB2MK-0004KF-OA for pgsql-docs@arkaria.postgresql.org; Thu, 09 Jun 2016 15:59:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bB2MK-0000ag-Av for pgsql-docs@arkaria.postgresql.org; Thu, 09 Jun 2016 15:59:04 +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 1bB2MJ-0000aa-WE for pgsql-docs@postgresql.org; Thu, 09 Jun 2016 15:59:04 +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 1bB2MH-0001QB-JC for pgsql-docs@postgresql.org; Thu, 09 Jun 2016 15:59:02 +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 u59FwvDi002980; Thu, 9 Jun 2016 11:58:58 -0400 From: Tom Lane To: Dean Rasheed cc: Alvaro Herrera , =?UTF-8?Q?J=C3=BCrgen_Purtz?= , pgsql-docs@postgresql.org Subject: Re: Math function description issue In-reply-to: References: <25461.1465330273@sss.pgh.pa.us> <20160607231148.GA512061@alvherre.pgsql> Comments: In-reply-to Dean Rasheed message dated "Wed, 08 Jun 2016 06:20:42 +0100" Date: Thu, 09 Jun 2016 11:58:57 -0400 Message-ID: <2979.1465487937@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) 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 Dean Rasheed writes: > Matlab just uses "nearest" for both floor() and ceil(), e.g. "the > nearest integer less than or equal to ...". > To me, that seems clearer than smallest/largest or least/greatest > because you don't have to think about which set of numbers it's trying > to exclude. When thinking about the nearest integer, you only have to > think about at most 2 possible values. Hearing no objections, done that way. 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