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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>, laetitia.avrot@gmail.com
Date: 2019-03-13T05:03:31Z
Lists: pgsql-hackers
On Tue, Mar 12, 2019 at 11:16:42PM -0400, Tom Lane wrote:
> Yeah.  I warned Laetitia about not testing corner cases, but
> it hadn't occurred to me that zero might be a corner case :-(

I was honestly expecting more failures than that when I saw the patch
landing.  This stuff is tricky :)

> 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.

Fine by me.
--
Michael

Commits

  1. Further adjust the tests for the hyperbolic functions.

  2. Adjust the tests for the hyperbolic functions.

  3. Rethink how to test the hyperbolic functions.

  4. Add support for hyperbolic functions, as well as log10().