about summary refs log tree commit diff
path: root/benchtests/logb-inputs
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-03-14 11:55:04 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-07-08 17:22:22 -0300
commit0cccd37f70ba629a32773d6f253cb69a893fa652 (patch)
tree01ff045849f5e2e302aec6255de0a134d74003fa /benchtests/logb-inputs
parent931c616eedc303d48fdd3b05bc063b354a133c74 (diff)
downloadglibc-0cccd37f70ba629a32773d6f253cb69a893fa652.tar.gz
glibc-0cccd37f70ba629a32773d6f253cb69a893fa652.tar.xz
glibc-0cccd37f70ba629a32773d6f253cb69a893fa652.zip
benchtests: Add logb{f} benchmark
	* benchtests/Makefile (bench-math): Add logb.
	* benchtests/logb-inputs: New file.
	* benchtests/logbf-inputs: New file.

Reviewed-by: Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Diffstat (limited to 'benchtests/logb-inputs')
-rw-r--r--benchtests/logb-inputs11
1 files changed, 11 insertions, 0 deletions
diff --git a/benchtests/logb-inputs b/benchtests/logb-inputs
new file mode 100644
index 0000000000..ab3b161696
--- /dev/null
+++ b/benchtests/logb-inputs
@@ -0,0 +1,11 @@
+## args: double
+## ret: double
+## includes: math.h
+
+## name: subnormal
+0x0.0000000000001p-1022
+0x0.fffffffffffffp-1022
+
+## name: normal
+1.0
+1024.0