benchtests: Add fmodf benchmark

1. Subnormals: 128 inputs.
2. Normal numbers with large exponent difference (|x/y| > 2^8):
   1024 inputs between FLT_MIN and FLT_MAX;
3. Close exponents (ey >= -103 and |x/y| < 2^8): 1024 inputs with
   exponents between -10 and 10.
Reviewed-by: Wilco Dijkstra  <Wilco.Dijkstra@arm.com>
This commit is contained in:
Adhemerval Zanella Netto 2023-03-20 13:01:15 -03:00 committed by Adhemerval Zanella
parent 3ba0c9593f
commit 5c11701c51
2 changed files with 2183 additions and 0 deletions

View File

@ -49,6 +49,7 @@ bench-math := \
fmin \
fminf \
fmod \
fmodf \
hypot \
hypotf \
ilogb \

2182
benchtests/fmodf-inputs Normal file

File diff suppressed because it is too large Load Diff