benchtests: Add acosf function to bench-math

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>
This commit is contained in:
Sunil K Pandey 2021-10-27 13:50:16 -07:00
parent f392915d1e
commit 79d0fc6539
2 changed files with 2710 additions and 0 deletions

View File

@ -24,6 +24,7 @@ include ../Makeconfig
bench-math := \
acos \
acosf \
acosh \
asin \
asinh \

2709
benchtests/acosf-inputs Normal file

File diff suppressed because it is too large Load Diff