[glibc] powerpc: Update acosf ulps

Florian Weimer fweimer@redhat.com
Thu Jan 2 11:00:02 GMT 2025


* Florian Weimer via Glibc-cvs:

> https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=64d07e117d93a8f0db324c376e0344d9aca21f6f
>
> commit 64d07e117d93a8f0db324c376e0344d9aca21f6f
> Author: Florian Weimer <fweimer@redhat.com>
> Date:   Thu Jan 2 11:56:42 2025 +0100
>
>     powerpc: Update acosf ulps
>     
>     As seen on powerpc64le-linux-gnu with GCC 11 defaulting to POWER9
>     instructions.
>
> Diff:
> ---
>  sysdeps/powerpc/fpu/libm-test-ulps | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/sysdeps/powerpc/fpu/libm-test-ulps b/sysdeps/powerpc/fpu/libm-test-ulps
> index 07b91f8534..89dcef3603 100644
> --- a/sysdeps/powerpc/fpu/libm-test-ulps
> +++ b/sysdeps/powerpc/fpu/libm-test-ulps
> @@ -8,11 +8,13 @@ ldouble: 1
>  
>  Function: "acos_downward":
>  double: 1
> +float: 1
>  float128: 1
>  ldouble: 3
>  
>  Function: "acos_towardzero":
>  double: 1
> +float: 1
>  float128: 1
>  ldouble: 3

So this may have been a bit premature/too mechanical.

Isn't the new acosf implementation supposed to be correctly rounded?
Any idea what's going on?

Thanks,
Florian



More information about the Libc-alpha mailing list