about summary refs log tree commit diff
path: root/benchtests/rintf-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/rintf-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/rintf-inputs')
-rw-r--r--benchtests/rintf-inputs7
1 files changed, 7 insertions, 0 deletions
diff --git a/benchtests/rintf-inputs b/benchtests/rintf-inputs
new file mode 100644
index 0000000000..f7c6f06789
--- /dev/null
+++ b/benchtests/rintf-inputs
@@ -0,0 +1,7 @@
+## args: float
+## ret: float
+## includes: math.h
+78.5
+-78.5
+4503599627370497.0
+-4503599627370497.0