From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: pgsql: Add support for hyperbolic functions, as well as log10(). |
Date: | 2019-03-13 02:21:59 |
Message-ID: | 20190313022159.GR13812@paquier.xyz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On Tue, Mar 12, 2019 at 07:55:14PM +0000, Tom Lane wrote:
> Add support for hyperbolic functions, as well as log10().
>
> The SQL:2016 standard adds support for the hyperbolic functions
> sinh(), cosh(), and tanh(). POSIX has long required libm to
> provide those functions as well as their inverses asinh(),
> acosh(), atanh(). Hence, let's just expose the libm functions
> to the SQL level. As with the trig functions, we only implement
> versions for float8, not numeric.
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)
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2019-03-13 03:16:42 | Re: pgsql: Add support for hyperbolic functions, as well as log10(). |
Previous Message | Michael Paquier | 2019-03-13 01:44:47 | pgsql: Rename pg_verify_checksums to pg_checksums |
From | Date | Subject | |
---|---|---|---|
Next Message | Paul Guo | 2019-03-13 02:39:11 | Re: Batch insert in CTAS/MatView code |
Previous Message | Michael Paquier | 2019-03-13 02:19:06 | Re: Compressed TOAST Slicing |