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 1hJm7n-0008AV-4z for pgsql-sql@arkaria.postgresql.org; Thu, 25 Apr 2019 21:41:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hJm7l-0003vX-Ma for pgsql-sql@arkaria.postgresql.org; Thu, 25 Apr 2019 21:41:45 +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 1hJm7l-0003vQ-ER for pgsql-sql@lists.postgresql.org; Thu, 25 Apr 2019 21:41:45 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hJm7i-000386-Og for pgsql-sql@lists.postgresql.org; Thu, 25 Apr 2019 21:41:45 +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 x3PLfdOw000485; Thu, 25 Apr 2019 17:41:39 -0400 From: Tom Lane To: Max Lipsky cc: pgsql-sql@lists.postgresql.org Subject: Re: Problem in In-reply-to: <32A34C31-946E-4946-8CD1-DB36F70160ED@gmail.com> References: <2164C531-EAA3-4CAF-996F-FEB0E5F73B32@gmail.com> <26108.1556211406@sss.pgh.pa.us> <32A34C31-946E-4946-8CD1-DB36F70160ED@gmail.com> Comments: In-reply-to Max Lipsky message dated "Fri, 26 Apr 2019 00:08:27 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <483.1556228499.1@sss.pgh.pa.us> Date: Thu, 25 Apr 2019 17:41:39 -0400 Message-ID: <484.1556228499@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Max Lipsky writes: > I think is too much for roundoff error The error in this example is one unit-in-the-last-place of a standard IEEE double, if I did the math correctly, so it couldn't be any smaller without being exact. regards, tom lane