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 1ilj1X-0008WC-C2 for pgsql-docs@arkaria.postgresql.org; Mon, 30 Dec 2019 00:35:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ilj1U-0000XB-C8 for pgsql-docs@arkaria.postgresql.org; Mon, 30 Dec 2019 00:35:04 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1ilj1U-0000X4-4R for pgsql-docs@lists.postgresql.org; Mon, 30 Dec 2019 00:35:04 +0000 Received: from sraihb2.sra.co.jp ([202.32.10.6]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ilj1L-0002OP-HX for pgsql-docs@lists.postgresql.org; Mon, 30 Dec 2019 00:35:02 +0000 Received: from srascf.sra.co.jp (srascf [133.137.8.80]) by sraihb2.sra.co.jp (Postfix) with ESMTP id 450B22A15F1 for ; Mon, 30 Dec 2019 09:34:52 +0900 (JST) Received: from srascb.sra.co.jp (unknown [133.137.8.65]) by srascf.sra.co.jp with smtp id 26a3_0334_cb1a67ff_8440_4afc_b1aa_84acd7d6ba8e; Mon, 30 Dec 2019 09:34:51 +0900 Received: from sranhm.sra.co.jp (osspc25 [133.137.174.97]) by srascb.sra.co.jp (Postfix) with ESMTP id 28A9C2D6942 for ; Mon, 30 Dec 2019 09:34:52 +0900 (JST) Received: from localhost (sraihb-hub.sra.co.jp [133.137.8.6]) by sranhm.sra.co.jp (Postfix) with ESMTP id 0666FA00C2 for ; Mon, 30 Dec 2019 09:34:52 +0900 (JST) Date: Mon, 30 Dec 2019 09:34:51 +0900 (JST) Message-Id: <20191230.093451.1762483750956466101.t-ishii@sraoss.co.jp> To: pgsql-docs@lists.postgresql.org Subject: Question to datatype.sgml From: Tatsuo Ishii X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, Can you please someone elaborate what's the meaning of "even" in datatype.sgml? By default, floating point values are output in text form in their shortest precise decimal representation; the decimal value produced is closer to the true stored binary value than to any other value representable in the same binary precision. (However, the output value is currently never exactly midway between two representable values, in order to avoid a widespread bug where input routines do not properly respect the round-to-even rule.) This value will ~~~~~~~~~~~~~~~~~~~ use at most 17 significant decimal digits for float8 values, and at most 9 digits for float4 values. I think "even" means "equality" here, not "even" of "even and odd". Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp