[PATCH 07/15] benchtests: Add tanpif

DJ Delorie dj@redhat.com
Fri Feb 7 22:55:59 GMT 2025


Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> Random inpus in the range of [-1,1].

s/inpus/inputs/

> diff --git a/benchtests/Makefile b/benchtests/Makefile
>    tanf \
>    tanh \
>    tanhf \
> +  tanpif \
>    tgamma \
>    tgammaf \
>    trunc \

Ok.

> diff --git a/benchtests/tanpif-inputs b/benchtests/tanpif-inputs
> +## args: float
> +## ret: float
> +## includes: math.h
> +# Random inputs in [-1,1]
> +## name: workload-random

One more (-4,4)

> +0x1.702558p+0
> +0x1.fdffbp-1
> +0x1.85f274p+1
> +-0x1.7e6ecp+1
> . . .
> +0x1.c59f18p+1
> +-0x1.0c3dd8p+0
> +-0x1.10c488p+1
> +-0x1.53b40ep+1



More information about the Libc-alpha mailing list