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 1h3uNw-0003Jv-JL for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Mar 2019 03:16:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h3uNt-0002iy-Vk for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Mar 2019 03:16:49 +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 1h3uNt-0002ip-Kq for pgsql-hackers@lists.postgresql.org; Wed, 13 Mar 2019 03:16:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h3uNq-0003Pq-Nf for pgsql-hackers@lists.postgresql.org; Wed, 13 Mar 2019 03:16:48 +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 x2D3GgZa024814; Tue, 12 Mar 2019 23:16:42 -0400 From: Tom Lane To: Michael Paquier cc: Postgres hackers , laetitia.avrot@gmail.com Subject: Re: pgsql: Add support for hyperbolic functions, as well as log10(). In-reply-to: <20190313022159.GR13812@paquier.xyz> References: <20190313022159.GR13812@paquier.xyz> Comments: In-reply-to Michael Paquier message dated "Wed, 13 Mar 2019 11:21:59 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24812.1552447002.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 12 Mar 2019 23:16:42 -0400 Message-ID: <24813.1552447002@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Michael Paquier writes: > On Tue, Mar 12, 2019 at 07:55:14PM +0000, Tom Lane wrote: >> Add support for hyperbolic functions, as well as log10(). > jacana is not a fan of this commit, and failed on float8: > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Djacana&dt=3D20= 19-03-13%2000%3A00%3A27 > @@ -476,7 +476,7 @@ > SELECT asinh(float8 '0'); > asinh > ------- > - 0 > + -0 > (1 row) Yeah. I warned Laetitia about not testing corner cases, but it hadn't occurred to me that zero might be a corner case :-( I'm inclined to leave it as-is for a day or so and see if any other failures turn up, before deciding what to do about it. regards, tom lane