aboutsummaryrefslogtreecommitdiff
path: root/benchtests/roundeven-inputs
diff options
context:
space:
mode:
authorShen-Ta Hsieh <ibmibmibm.tw@gmail.com>2020-03-27 23:24:02 +0000
committerJoseph Myers <joseph@codesourcery.com>2020-03-27 23:24:02 +0000
commit642d5abaf11b033a1bfc88fd66f736f61a3fd17b (patch)
tree452ea563ac11e623a9259176f83974b9f35fc798 /benchtests/roundeven-inputs
parent933dc0e5708beae17ce382287b9901ee960f42da (diff)
downloadglibc-642d5abaf11b033a1bfc88fd66f736f61a3fd17b.zip
glibc-642d5abaf11b033a1bfc88fd66f736f61a3fd17b.tar.gz
glibc-642d5abaf11b033a1bfc88fd66f736f61a3fd17b.tar.bz2
Add benchtests for roundeven and roundevenf.
This patch adds benchtests for the roundeven and roundevenf functions. The inputs are copied from trunc-inputs.
Diffstat (limited to 'benchtests/roundeven-inputs')
-rw-r--r--benchtests/roundeven-inputs22
1 files changed, 22 insertions, 0 deletions
diff --git a/benchtests/roundeven-inputs b/benchtests/roundeven-inputs
new file mode 100644
index 0000000..49ff407
--- /dev/null
+++ b/benchtests/roundeven-inputs
@@ -0,0 +1,22 @@
+## args: double
+## ret: double
+## includes: math.h
+0.0
+-0.0
+0.001
+-0.001
+0.5
+-0.5
+0.999
+-0.999
+1.0
+-1.0
+1.001
+-1.001
+123.5
+-123.5
+12345.1
+-1000000.1
+1e15
+-1e30
+1e200