Re: pgsql: Add support for hyperbolic functions, as well as log10().
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>,
laetitia.avrot@gmail.com
Date: 2019-03-13T03:16:42Z
Lists: pgsql-hackers
Michael Paquier <michael@paquier.xyz> 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=jacana&dt=2019-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
Commits
-
Further adjust the tests for the hyperbolic functions.
- c43ecdee0fff 12.0 landed
-
Adjust the tests for the hyperbolic functions.
- c015f853bf59 12.0 landed
-
Rethink how to test the hyperbolic functions.
- c6f153dcfebc 12.0 landed
-
Add support for hyperbolic functions, as well as log10().
- f1d85aa98ee7 12.0 cited