aboutsummaryrefslogtreecommitdiff
path: root/benchtests/ilogb-inputs
diff options
context:
space:
mode:
authorRaphael Moreira Zinsly <rzinsly@linux.ibm.com>2020-12-03 10:41:02 -0300
committerRaphael Moreira Zinsly <rzinsly@linux.ibm.com>2021-03-16 12:19:09 -0300
commit6cf19111222800a9e98f30392b6649c42b315829 (patch)
treec0f829a8ee6e246c164a62add80c5a40de9fea28 /benchtests/ilogb-inputs
parenta7d88506c260e7a0e4268803e76fc19e38ed041f (diff)
downloadglibc-6cf19111222800a9e98f30392b6649c42b315829.tar
glibc-6cf19111222800a9e98f30392b6649c42b315829.tar.gz
glibc-6cf19111222800a9e98f30392b6649c42b315829.tar.bz2
glibc-6cf19111222800a9e98f30392b6649c42b315829.zip
benchtests: Add ilogb* tests
Add a benchtest to ilogb, ilogbf and ilogbf128 based on the logb* benchtests.
Diffstat (limited to 'benchtests/ilogb-inputs')
-rw-r--r--benchtests/ilogb-inputs11
1 files changed, 11 insertions, 0 deletions
diff --git a/benchtests/ilogb-inputs b/benchtests/ilogb-inputs
new file mode 100644
index 0000000000..4b3b38bd99
--- /dev/null
+++ b/benchtests/ilogb-inputs
@@ -0,0 +1,11 @@
+## args: double
+## ret: int
+## includes: math.h
+
+## name: subnormal
+0x0.0000000000001p-1022
+0x0.fffffffffffffp-1022
+
+## name: normal
+1.0
+1024.0