Re: Accuracy of Mathematical Functions

From: Steve Kargl <kargls_at_comcast.net>
Date: Tue, 25 Aug 2026 07:54:48 UTC
On 8/25/26 00:29, Paul Zimmermann wrote:

> Specific to FreeBSD (we are testing 15.1);
> 
> * We use the generic x86_64 binary from the FreeBSD distribution. Some
>    slightly different results might be obtained if you recompile FreeBSD using
>    fused-multiply-add
> 
> * pow still has a large error of 636 ulps for x=0x1.000002c5e2e99p+0 and
>    y=0x1.c9eee35374af6p+31
> 
> Looking forward for improvements in the next release!

I think that no one has looked at the pow() issue on FreeBSD.
I know I haven't, which pretty sums up people fixing bugs in
libm.  On the bright side, the next release of FreeBSD 15 should
have rsqrt, rsqrtf, and rsqrtl (and maybe asinpi[fl], acospi[fl],
and atanpi[fl] if code is merged from the mainline into the
15.x branch).

-- 
steve