[PATCH] add more test inputs for asinpi

Joseph Myers josmyers@redhat.com
Wed Apr 9 11:28:40 GMT 2025


On Wed, 9 Apr 2025, Paul Zimmermann wrote:

> diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
> index 01ba689aa8..c340c2ae0f 100644
> --- a/math/auto-libm-test-in
> +++ b/math/auto-libm-test-in
> @@ -524,6 +524,10 @@ asinpi 0x1.f1c012p-1
>  asinpi -0x1.8805060cb885cp-3
>  asinpi 0x8.14d7e32b5c44642p-4
>  asinpi -0xa.7ca6c96caefe80b9d757de58a578p-4
> +asinpi -0x4p-128
> +asinpi -0x8p-152
> +asinpi -0x8p-972
> +asinpi -0xf.fffffp-4

These tests are all already included; this patch should have no effect on 
what inputs actually get tested.  See the input lines

asinpi -0x0.ffffffp0
asinpi -min
asinpi -min_subnorm

which together generate all the inputs from the lines you suggest adding.

> diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps

We no longer have most such files after Adhemerval's changes.

-- 
Joseph S. Myers
josmyers@redhat.com



More information about the Libc-alpha mailing list