[PATCH 04/11] benchtests: Add lgammaf benchmark

DJ Delorie dj@redhat.com
Wed Nov 20 21:45:42 GMT 2024


Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> Random inputs in the range [-20.0,20.0].
> diff --git a/benchtests/Makefile b/benchtests/Makefile
>    j0 \
>    j1 \
>    lgamma \
> +  lgammaf \
>    llrint \
>    llrintf \

Ok.

> diff --git a/benchtests/lgammaf-inputs b/benchtests/lgammaf-inputs
> +## args: float
> +## ret: float
> +## includes: math.h
> +# Random inputs in the range [-20.0,20.0]
> +## name: workload-random-m20-p20
> +-0x1.7eb52p+1
> +-0x1.69a06p+3
> +-0x1.a042ccp+3
> . . .
> +-0x1.be78a2p+3
> +-0x1.e1bf4ap+3
> +0x1.153b24p+4

Ok.

LGTM
Reviewed-by: DJ Delorie <dj@redhat.com>



More information about the Libc-alpha mailing list