Re: exp() versus the POSIX standard

From: Emre Hasegeli <emre(at)hasegeli(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: exp() versus the POSIX standard
Date: 2020-06-12 15:16:14
Message-ID: CAE2gYzysOtf6+e8b+ZAne7BAVy8r-y3qJ1z+m6zpfHGLSyjnfw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Does anyone disagree that that's a bug? Should we back-patch
> a fix, or just change it in HEAD? Given the lack of user
> complaints, I lean a bit towards the latter, but am not sure.

The other functions and operators pay attention to not give an error
when the input is Inf or 0. exp() and power() are at least
inconsistent by doing so. I don't think this behavior is useful.
Although it'd still be less risky to fix it in HEAD only.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Emre Hasegeli 2020-06-12 15:34:15 Re: exp() versus the POSIX standard
Previous Message Masahiko Sawada 2020-06-12 14:46:14 Re: Internal key management system