benchtests: Add modff benchtest

It adds four ranges, which is how the generic implementation handles
normal numbers:

  1. Random inputs in the range [0.0, 1.0];
  2. Random inputs in the range [1.0, (float)(1U << 23)];
  3. Random inputs in the range [(float)(1U << 23), FLT_MAX];
  4. Random integral inputs in the range [0.0, (float)(1U << 23)].

Reviewed-by: Wilco Dijkstra  <Wilco.Dijkstra@arm.com>
This commit is contained in:
Adhemerval Zanella 2025-05-28 14:59:27 -03:00
parent 8af8beb1c4
commit 619fd4e37b
2 changed files with 8012 additions and 0 deletions

View File

@ -104,6 +104,7 @@ bench-math := \
lrint \
lrintf \
modf \
modff \
nearbyint \
nearbyintf \
pow \

8011
benchtests/modff-inputs Normal file

File diff suppressed because it is too large Load Diff