Re: pgsql: Add support for hyperbolic functions, as well as log10().

From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, laetitia(dot)avrot(at)gmail(dot)com
Subject: Re: pgsql: Add support for hyperbolic functions, as well as log10().
Date: 2019-03-14 12:54:49
Message-ID: 9aae40da-9572-a82b-a283-d2158ed6ab0c@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers


On 3/14/19 12:41 AM, Tom Lane wrote:
> Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com> 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=jacana&dt=2019-03-14%2003%3A00%3A34
>
> Presumably that means they calculated "infinity - infinity" at some
> point, but why?
>
> 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.

cheers

andrew

--

Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2019-03-14 16:15:11 pgsql: Defend against leaks into RelationBuildPartitionDesc.
Previous Message Robert Haas 2019-03-14 12:39:10 Re: pgsql: Fix thinko when bumping on temporary directories in pg_verify_ch

Browse pgsql-hackers by date

  From Date Subject
Next Message Antonin Houska 2019-03-14 13:28:50 Re: "WIP: Data at rest encryption" patch and, PostgreSQL 11-beta3
Previous Message Peter Eisentraut 2019-03-14 12:38:53 Re: log bind parameter values on error