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 1h4Xbe-00022b-2n for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Mar 2019 21:09:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h4Xbc-0006g2-M5 for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Mar 2019 21:09:36 +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 1h4Xbc-0006fv-BD for pgsql-hackers@lists.postgresql.org; Thu, 14 Mar 2019 21:09:36 +0000 Received: from mail-oi1-x244.google.com ([2607:f8b0:4864:20::244]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h4XbY-0002AS-Tx for pgsql-hackers@lists.postgresql.org; Thu, 14 Mar 2019 21:09:34 +0000 Received: by mail-oi1-x244.google.com with SMTP id j10so5602140oij.13 for ; Thu, 14 Mar 2019 14:09:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=ZkZ2z4hr2DfRRCFP6avUh9PoZdc3k2HTJdI8JbVM12U=; b=kBFav3yXa0oFgAGQ4MhDF/IieUktqaWZSbblykMvRmo13VY1QdehdHCbfkMdms30pJ CGi/We+vu9CobviOaFiepiyhNZOQ1T/6WM3H8aINu3YcBzxXS9z9n2UlwK9LRv2T3i94 LhEu0DOusiX/pEKjQ42J09V5Tnyu1Cfbs9Q/Oh0GoU2T9C2bEwS5nFEtyaAEGe0N9r9j XwMokxeCDFOnT8VrFhNNPfvb78dk7PkUO0/Jrtlh3h6vx5A+RMFGTEu6B91K5OTXn+3F DVvrqqnjGPemyTnUh7jVmPKdD7sFU0vb/KNAAGFX4cz3uDpLFSH9Przh6oC0eCE3ZDDn +0Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=ZkZ2z4hr2DfRRCFP6avUh9PoZdc3k2HTJdI8JbVM12U=; b=nr5uGeHGGyEmwRTFke6cRqwMnPsOwIzsCNpoagsUZlkYqH8zxpCfBxI1rnpeTK8/1Z EVaij90Rn35VAe2KvmEhWhcEeTVdPcuEP1WgRdck/0y4YCTcVz/wGvpbMkU8bVvdKNDN ngE0dAJadZ8a6i+HEg4Rzue2il6aeHGxiEJ/txRxeoFuaVXoePR9eLNPcVteLGfzrUbi jrfjDiaZrys3RaOfC3tTi52JqeEzOWQ7j4CCU4sb+MKaf+KA/q/1zxLQXjty12XEkEdV qgCSz7VDSSKwuKAeQxVSAPSK93MNyGgUBfn6dJG3DHRE7tOWz/mdsMOycLktvOflbbKZ T4uA== X-Gm-Message-State: APjAAAWF2n9iRQU9NYDsWPYauBdcZbohkUl1nLlRmQhXqjyH0BtPyGuN rqhCrjUD+MIV4ZpSVJCn8yaG X-Google-Smtp-Source: APXvYqwk6REm6LClgUHCam3DUV6Rb0sXWTlWqMVS1MdCOFXSSdLWnh0peT0358Knd1GJRm9u1MduDQ== X-Received: by 2002:aca:f4c8:: with SMTP id s191mr348681oih.126.1552597772155; Thu, 14 Mar 2019 14:09:32 -0700 (PDT) Received: from [192.168.10.146] (99-10-92-30.lightspeed.rlghnc.sbcglobal.net. [99.10.92.30]) by smtp.gmail.com with ESMTPSA id h138sm49844oic.8.2019.03.14.14.09.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Mar 2019 14:09:31 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: pgsql: Add support for hyperbolic functions, as well as log10(). To: Tom Lane Cc: Dean Rasheed , Michael Paquier , PostgreSQL Hackers , laetitia.avrot@gmail.com References: <20190313022159.GR13812@paquier.xyz> <24813.1552447002@sss.pgh.pa.us> <20190313050331.GT13812@paquier.xyz> <17820.1552514192@sss.pgh.pa.us> <6989.1552538487@sss.pgh.pa.us> <9aae40da-9572-a82b-a283-d2158ed6ab0c@2ndQuadrant.com> <8795.1552590496@sss.pgh.pa.us> Openpgp: preference=signencrypt Autocrypt: addr=andrew.dunstan@2ndQuadrant.com; prefer-encrypt=mutual; keydata= xsBNBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpiyi5sR0X9FHXT0KnGuz1F5ERO7ZTLSSQ6fJwPj6gOk9K+vvoKvoeql5ABEB AAHNL0FuZHJldyBEdW5zdGFuIDxhbmRyZXcuZHVuc3RhbkAybmRRdWFkcmFudC5jb20+wsCY BBMBAgBCAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAUJDyV6hBYhBOQ+WEYd/Hy/RGkV pZn6f8tZ/DuBBQJcH/EVAhkBAAoJEJn6f8tZ/DuB7BEH/iDWZEbVft2m2MT6SPjARzTupt/l xLLZ/Cl6n2US2hov5+fBbnR5xvECk/YCOfG9ICvKNlpFjceqNLRKStd8cmndnI+kDw91uNM2 hpL4aJMeW65XCHvqXlOL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illa/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <8795.1552590496@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-MW List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/14/19 3:08 PM, Tom Lane wrote: > Andrew Dunstan writes: >> On 3/14/19 12:41 AM, Tom Lane wrote: >>> So far, no other failures ... >> I have replicated this on my Msys2 test system. >> I assume it's a bug in the mingw math library. I think jacana is the >> only currently reporting mingw member :-( The MSVC members appear to be >> happy. >> I have several releases of the mingw64 toolsets installed on jacana - >> I'll try an earlier version to see if it makes a difference. > Yeah, it would be interesting to know whether it's consistent across > different mingw versions. Tried with mingw64-gcc-5.4.0  (jacana is currently on 8.1.0). Same result. > > So far, though, jacana is still the only buildfarm animal that's having > trouble with those tests as of c015f853b. I want to wait another day or > so in hopes of getting more reports from stragglers. But assuming that > that stays true, I do not feel any need to try to work around jacana's > issues. We already have proof of two deficiencies in their > hyoerbolic-function code, and considering the tiny number of test cases > we've tried, it'd be folly to think there are only two. I don't want > to embark on a project to clean that up for the sake of one substandard > implementation. > > I feel therefore that what we should do (barring new evidence) is either > > 1. Remove all the inf/nan test cases for the hyoerbolic functions, on > the grounds that they're not really worth expending buildfarm cycles on > in the long run; or > > 2. Just comment out the one failing test, with a note about why. > > I haven't got a strong preference as to which. Thoughts? > > 2. would help us memorialize the problem. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services