Re: Add error functions: erf() and erfc() - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Add error functions: erf() and erfc()
Date
Msg-id 20230308201114.GA3555030@nathanxps13
Whole thread Raw
In response to Add error functions: erf() and erfc()  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Responses Re: Add error functions: erf() and erfc()
List 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



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Non-superuser subscription owners
Next
From: "Regina Obe"
Date:
Subject: RE: [PATCH] Support % wildcard in extension upgrade filenames