[PATCH 02/15] benchtests: Add asinpif
DJ Delorie
dj@redhat.com
Fri Feb 7 22:06:55 GMT 2025
Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> Random inpus in the range of [-1,1].
> diff --git a/benchtests/Makefile b/benchtests/Makefile
> asinf \
> asinh \
> asinhf \
> + asinpif \
> atan \
Ok.
> diff --git a/benchtests/asinpif-inputs b/benchtests/asinpif-inputs
> +## args: float
> +## ret: float
> +## includes: math.h
> +# Random inputs in [-1,1]
> +## name: workload-random
I'll note that the range is really (-1,1) not [-1,1] as neither -1 nor 1
are in the set... not that it matters in this case.
> +-0x1.37689p-4
> +0x1.27d46cp-1
> +-0x1.90dfap-1
> +-0x1.185774p-2
> +-0x1.e9f48p-1
> +0x1.da064p-4
> +-0x1.fb2ddep-1
> +-0x1.a958c8p-1
> +0x1.c36d6p-2
> +-0x1.a78216p-1
> . . .
> +0x1.3925f4p-1
> +-0x1.3433c8p-2
> +0x1.b8271p-1
> +0x1.6a02c8p-2
> +-0x1.6b738p-2
> +-0x1.715fd2p-1
> +0x1.2cda78p-2
Ok.
LGTM
Reviewed-by: DJ Delorie <dj@redhat.com>
More information about the Libc-alpha
mailing list