aboutsummaryrefslogtreecommitdiff
path: root/benchtests/acosf-inputs
AgeCommit message (Collapse)AuthorFilesLines
2024-12-18benchtests: Add acosf benchmarkAdhemerval Zanella1-0/+2710
The input is based on acos one (random inputs in [-1,1]). Reviewed-by: DJ Delorie <dj@redhat.com>
2021-11-05Revert "benchtests: Add acosf function to bench-math"Sunil K Pandey1-2709/+0
This reverts commit 79d0fc65395716c1d95931064c7bf37852203c66.
2021-10-29benchtests: Add acosf function to bench-mathSunil K Pandey1-0/+2709
Add acosf function to bench-math and copy acosf-inputs to benchtests. Motivation for this patch is to prepare for upcoming libmvec new functions. Float and double version of libmvec functions stays together. acosf-inputs file generated from acos-inputs file using following scaling formula: f = d * (FLT_MAX/DBL_MAX) Where d is input(double) and f is output(float). If scaled float value is duplicate in new input file, nextafterf() function used to find next float value, ensuring no duplicates. Reviewed-by: H.J. Lu <hjl.tools@gmail.com>