Re: exp() versus the POSIX standard - Mailing list pgsql-hackers

From Emre Hasegeli
Subject Re: exp() versus the POSIX standard
Date
Msg-id CAE2gYzysOtf6+e8b+ZAne7BAVy8r-y3qJ1z+m6zpfHGLSyjnfw@mail.gmail.com
Whole thread Raw
In response to exp() versus the POSIX standard  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.



pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Internal key management system
Next
From: Emre Hasegeli
Date:
Subject: Re: exp() versus the POSIX standard