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 1jl1GT-0006fy-BM for pgsql-committers@arkaria.postgresql.org; Tue, 16 Jun 2020 02:23:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jl1GR-0005Dl-9V for pgsql-committers@arkaria.postgresql.org; Tue, 16 Jun 2020 02:23:51 +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 1jl1GQ-0005De-AY for pgsql-committers@lists.postgresql.org; Tue, 16 Jun 2020 02:23:51 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jl1GM-0007x8-Jx for pgsql-committers@lists.postgresql.org; Tue, 16 Jun 2020 02:23:49 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 527EF5C0131; Mon, 15 Jun 2020 22:23:44 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 15 Jun 2020 22:23:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=Rg7ht38r685UnwiZ7W3V3/lhf1Y LFdyoHx1QfJfTl8M=; b=Uvwkc8TZjvnywUXmG7Ow1y6lt9Pll5mz03OW1bWhuV5 24W/VDnRIXuYBPY+v/3Fa3xOoI60ywdOIeCsHoHAiGYvCU7LiktvFffsbEqFj5v0 jxdWkQ/G0YZaKZKpNn0AIkf4rKDTmGx+opE4X65A+lLBWDHIPnUwQkkHEsH1DOIn je1bAyzzyJMYzoKxyDufjExv4HjUHlfJh6mOlRoHFGXB75r+iwFuMVyKYwIDc5Oa W6V51ToWTgjWs0HuFzuvQixxjFjoVL0QiJpylZr6W71GaL9f8DU59JTjklcEA5+2 d+vjBAeBG21EW45wokZzja/Uw7ajiw8A+50PAsem/cQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Rg7ht3 8r685UnwiZ7W3V3/lhf1YLFdyoHx1QfJfTl8M=; b=MUYBhDroZo9smBZ4g+jZMq dP+jVYM1iJXsZioxnFsCSLgi14Dz6JqjcrbmsnC9ZlLVTsBjKwpcUoRDLQ6P8t+q VM1bB90Syf3nlYu/bVtYGs/Ks9C+m+X/kzj/nkbn/rZWe9QblJjf09wST4tLTjgY gPK8x+3lu6AMyzPwrhpXDmi/44YE2iwWarlhdDgekUCvV+15oZfSGZxMQgtC6tkA aOFwj2tWFTwL+mjob6sRu4xEcZ5P4fkaX2LJyLJw8CUDZQl1Ht4g2pSUnYsLZLZD tNl5XbUz8KKjv3LpAG5xNS/u9qu43JCCvizu5Y14filCanOHVCPx6lyxI22esgGQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeiledgheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdlfeehmdenucfjughrpeffhf fvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhu ihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrh hnpeffudeffeelgffhkedukeekvedvudfgieetkeekudelfeevhffhffdtudffieeutden ucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgnecukfhppeduuddurddutddvrd dukedtrddukeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id D73C0328005A; Mon, 15 Jun 2020 22:23:42 -0400 (EDT) Date: Tue, 16 Jun 2020 11:23:40 +0900 From: Michael Paquier To: Tom Lane Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix power() for large inputs yet more. Message-ID: <20200616022340.GC2353@paquier.xyz> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aT9PWwzfKXlsBJM1" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --aT9PWwzfKXlsBJM1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 15, 2020 at 11:10:43PM +0000, Tom Lane wrote: > Fix power() for large inputs yet more. >=20 > Buildfarm results for commit e532b1d57 reveal the error in my thinking > about the unexpected-EDOM case. I'd supposed this was no longer really > a live issue, but it seems the fix for glibc's bug #3866 is not all that > old, and we still have at least one buildfarm animal (lapwing) with the > bug. Hence, resurrect essentially the previous logic (but, I hope, less > opaquely presented), and explain what it is we're really doing here. fossa seems to still be complaining after that: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dfossa&dt=3D2020-0= 6-16%2000%3A23%3A24 SELECT power(float8 '-inf', float8 '-2'); power ------- - 0 + -0 (1 row) Thanks, -- Michael --aT9PWwzfKXlsBJM1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl7oLSwACgkQnvQgOdby QH1F4A//epfNsfSUiGXXQLEISOZTdBUJQA6dHsdJOLG2wV4DKd00NWTwA+sMHrS4 F614juKNnEi0wn3H5KeAFfIhTzW7rPfjgRqEUZDH7BGBOpXiK7VshR6GrLPt5p+R mLMBCsZpdmTY3uSnONhKb9Kgdt95jLyug8bw6hWizKQ1EWyRAcvrMp/wN4CIxQvC JxVsCWFX516gSmyAVAQYiDuQMAjd0o9ACv32IfuUBg+CoIP3ZBPZSBqtQWYMqsMD yTiXpHwNQmSCnI3kAuQl2tGwoGYwawl43KmMO+NnA70lgUWPqgYXVpqcWAO8d3VR a6I4fVwJTfnHDoD5qjvXwevCT6Uwnqb78CUaoQ1eo9jvaZYTQoTg9xQd7j+GrPrJ 7la8KZo15CfsaDWbQjBBFKppMpaE172m/1sii3LrvhHgedbSelxtI1F0VLwe6B06 D9/vrsvyZMH7ffeuMZnfPIqgx7L0wuYv8GfuP6vobrYhYyWXLI00AhWCNcwrlH3+ A9fMdgPkdMI4bZssq6DhuQGerBD0pSxhmnrdck9ZPX4tjBVaNvg3rzsSDQXSL6qT ErXSFyIAusCXz+D3Yg9/KUP2zHZ6+ANMhe6H5xeS16CyRbgdE51BuxXAMQi1nDxy ltISchOIDufYBdY7Oy64A4y8IQqVZUcb0H6kIAsGOrby6nkwskU= =uWFF -----END PGP SIGNATURE----- --aT9PWwzfKXlsBJM1--