about summary refs log tree commit diff
path: root/benchtests/ceilf-inputs
diff options
context:
space:
mode:
authorJunxian Zhu <zhujunxian@oss.cipunited.com>2024-01-22 10:16:19 +0800
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-23 08:50:00 -0300
commit0a4d6c825405bb0dd5058566b01f12704cfc3731 (patch)
tree24a3fa943b4b192dad00374714df91fd2be11345 /benchtests/ceilf-inputs
parent59e0441d4a1198aa9d21643a6e4f370faec4ffbf (diff)
downloadglibc-0a4d6c825405bb0dd5058566b01f12704cfc3731.tar.gz
glibc-0a4d6c825405bb0dd5058566b01f12704cfc3731.tar.xz
glibc-0a4d6c825405bb0dd5058566b01f12704cfc3731.zip
benchtests: Add more benchtests for rounding functions.
This patch adds more benchtests for rounding functions.
The double inputs are copied from trunc-inputs, the float inputs are copied from truncf-inputs. and the rintf is copied from rint-inputs.
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'benchtests/ceilf-inputs')
-rw-r--r--benchtests/ceilf-inputs21
1 files changed, 21 insertions, 0 deletions
diff --git a/benchtests/ceilf-inputs b/benchtests/ceilf-inputs
new file mode 100644
index 0000000000..c37c5dacba
--- /dev/null
+++ b/benchtests/ceilf-inputs
@@ -0,0 +1,21 @@
+## args: float
+## ret: float
+## includes: math.h
+0.0f
+-0.0f
+0.001f
+-0.001f
+0.5f
+-0.5f
+0.999f
+-0.999f
+1.0f
+-1.0f
+1.001f
+-1.001f
+123.5f
+-123.5f
+12345.1f
+-1000000.5f
+1e15f
+-1e30f