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 1h4IBT-0004kW-Hs for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Mar 2019 04:41:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h4IBR-0005yC-5e for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Mar 2019 04:41:33 +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 1h4IBQ-0005xu-Ux for pgsql-hackers@lists.postgresql.org; Thu, 14 Mar 2019 04:41:32 +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 1h4IBO-0004Ak-65 for pgsql-hackers@lists.postgresql.org; Thu, 14 Mar 2019 04:41:32 +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 x2E4fR7O006990; Thu, 14 Mar 2019 00:41:27 -0400 From: Tom Lane To: Dean Rasheed cc: Michael Paquier , PostgreSQL Hackers , laetitia.avrot@gmail.com Subject: Re: pgsql: Add support for hyperbolic functions, as well as log10(). In-reply-to: References: <20190313022159.GR13812@paquier.xyz> <24813.1552447002@sss.pgh.pa.us> <20190313050331.GT13812@paquier.xyz> <17820.1552514192@sss.pgh.pa.us> Comments: In-reply-to Dean Rasheed message dated "Thu, 14 Mar 2019 00:35:30 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6988.1552538487.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 14 Mar 2019 00:41:27 -0400 Message-ID: <6989.1552538487@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Dean Rasheed writes: > I'm amazed that jacana's asinh() returned -0 for an input of +0. Even more amusingly, it returns NaN for acosh('infinity'), cf https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Djacana&dt=3D2019= -03-14%2003%3A00%3A34 Presumably that means they calculated "infinity - infinity" at some point, but why? So far, no other failures ... regards, tom lane