Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iln2F-0003fA-SZ for pgsql-docs@arkaria.postgresql.org; Mon, 30 Dec 2019 04:52:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iln2E-0003Pq-LM for pgsql-docs@arkaria.postgresql.org; Mon, 30 Dec 2019 04:52:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iln2E-0003Pj-AH for pgsql-docs@lists.postgresql.org; Mon, 30 Dec 2019 04:52:06 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iln2A-0006w9-No for pgsql-docs@lists.postgresql.org; Mon, 30 Dec 2019 04:52:03 +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 xBU4pxQB004310; Sun, 29 Dec 2019 23:52:00 -0500 From: Tom Lane To: Tatsuo Ishii cc: vik.fearing@2ndquadrant.com, pgsql-docs@lists.postgresql.org Subject: Re: Question to datatype.sgml In-reply-to: <20191230.110736.1393438990550013054.t-ishii@sraoss.co.jp> References: <20191230.093451.1762483750956466101.t-ishii@sraoss.co.jp> <79565c24-89ed-abfd-46df-4a23cde21b04@2ndquadrant.com> <20191230.110736.1393438990550013054.t-ishii@sraoss.co.jp> Comments: In-reply-to Tatsuo Ishii message dated "Mon, 30 Dec 2019 11:07:36 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4308.1577681519.1@sss.pgh.pa.us> Date: Sun, 29 Dec 2019 23:51:59 -0500 Message-ID: <4309.1577681519@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Tatsuo Ishii writes: >>> Can you please someone elaborate what's the meaning of "even" in >>> datatype.sgml? >>>> representable values, in order to avoid a widespread bug where input >>>> routines do not properly respect the round-to-even rule.) This value will >> It does actually mean "even and odd". This kind of rounding is also >> called "Banker's Rounding". >> https://en.wikipedia.org/wiki/Rounding#Round_half_to_even > Oh, Thanks! The link is very helpful. I think actually the standard terminology is "round-to-nearest-even". regards, tom lane