Re: Add error functions: erf() and erfc()

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add error functions: erf() and erfc()
Date: 2023-03-08 20:11:14
Message-ID: 20230308201114.GA3555030@nathanxps13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Feb 27, 2023 at 12:54:35PM +0000, Dean Rasheed wrote:
> + /*
> + * For erf, we don't need an errno check because it never overflows.
> + */

> + /*
> + * For erfc, we don't need an errno check because it never overflows.
> + */

The man pages for these seem to indicate that underflow can occur. Do we
need to check for that?

--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Regina Obe 2023-03-08 20:18:06 RE: [PATCH] Support % wildcard in extension upgrade filenames
Previous Message Andres Freund 2023-03-08 19:47:43 Re: Non-superuser subscription owners