diff options
author | Shen-Ta Hsieh <ibmibmibm.tw@gmail.com> | 2020-03-27 23:24:02 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2020-03-27 23:24:02 +0000 |
commit | 642d5abaf11b033a1bfc88fd66f736f61a3fd17b (patch) | |
tree | 452ea563ac11e623a9259176f83974b9f35fc798 /benchtests/roundevenf-inputs | |
parent | 933dc0e5708beae17ce382287b9901ee960f42da (diff) | |
download | glibc-642d5abaf11b033a1bfc88fd66f736f61a3fd17b.tar.gz glibc-642d5abaf11b033a1bfc88fd66f736f61a3fd17b.tar.xz glibc-642d5abaf11b033a1bfc88fd66f736f61a3fd17b.zip |
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/roundevenf-inputs')
-rw-r--r-- | benchtests/roundevenf-inputs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/benchtests/roundevenf-inputs b/benchtests/roundevenf-inputs new file mode 100644 index 0000000000..c37c5dacba --- /dev/null +++ b/benchtests/roundevenf-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 |