Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kUwjr-0008Bk-HU for pgsql-jdbc@arkaria.postgresql.org; Tue, 20 Oct 2020 18:52:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kUwjq-0000Ln-FT for pgsql-jdbc@arkaria.postgresql.org; Tue, 20 Oct 2020 18:52:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kUwjq-0000L4-5e for pgsql-jdbc@lists.postgresql.org; Tue, 20 Oct 2020 18:52:02 +0000 Received: from post.visena.com ([46.226.10.50]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.92) (envelope-from ) id 1kUwjn-0004KK-Hj for pgsql-jdbc@postgresql.org; Tue, 20 Oct 2020 18:52:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=visena.com; s=20141101.wh; h=Content-Type:MIME-Version:Subject:References:In-Reply-To:Message-ID:Cc:To:From:Date; bh=ivwWusEfd6OvoKM1r/JGt9PLpyyJGsT5ixbvulqmV8Y=; b=p1hNaZnkhHJNodrxfWaINeWUSGo6D5UXNiTzA4gdpj3M/1Bwg7F5goMlXKCGkJExKOHoVk9xOouH/9jdQXfzW8SQYCDItkr2yjriBphd/NYSMCb21D6kBQtFxFS+QvEC8LUC9bWRfY5FQ1GHl7uxi8DmJOwkwa3qbpckqI5fZw0=; Received: from tc7-visena.wh.internal.visena.com ([10.0.1.10]) by post.visena.com with esmtp (Exim 4.82) (envelope-from ) id 1kUwjh-0001FW-Q0; Tue, 20 Oct 2020 20:51:53 +0200 Received: from localhost ([127.0.0.1] helo=tc7-visena.wh.internal.visena.com) by tc7-visena.wh.internal.visena.com with esmtp (Exim 4.90_1) (envelope-from ) id 1kUwjh-0000oX-Ns; Tue, 20 Oct 2020 20:51:53 +0200 Date: Tue, 20 Oct 2020 20:51:53 +0200 (CEST) From: Andreas Joseph Krogh To: Tom Lane Cc: "David G. Johnston" , "Thangavel, Parameswaran" , "pgsql-jdbc@postgresql.org" Message-ID: In-Reply-To: <652597.1603214274@sss.pgh.pa.us> References: <652597.1603214274@sss.pgh.pa.us> Subject: Re: PostgresSQL 10 | Driver 42.2.5 | Float Conversion Issue MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_685_2096293547.1603219913551" X-Mailer: Visena Mail 2.2.434 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_685_2096293547.1603219913551 Content-Type: multipart/related; boundary="----=_Part_686_795444530.1603219913552" ------=_Part_686_795444530.1603219913552 Content-Type: multipart/alternative; boundary="----=_Part_687_1692847222.1603219913566" ------=_Part_687_1692847222.1603219913566 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable P=C3=A5 tirsdag 20. oktober 2020 kl. 19:17:54, skrev Tom Lane >:=20 Andreas Joseph Krogh writes: > How can this be sane? If you're expecting exact results from float calculations, you need a refresher course in what floating-point arithmetic is all about.=20