about summary refs log tree commit diff
path: root/benchtests/Makefile
diff options
context:
space:
mode:
authorPaul Clarke <pc@us.ibm.com>2017-06-20 10:14:42 -0300
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2017-06-20 10:14:42 -0300
commit4cedcaea8dc533ed11d92526bfd4e20ea459e3af (patch)
treec74235a1b725bf5f534a784c17c6934bb96c10ce /benchtests/Makefile
parentd8cee557e2b67a654ba4da189bd856f00d813fbe (diff)
downloadglibc-4cedcaea8dc533ed11d92526bfd4e20ea459e3af.tar.gz
glibc-4cedcaea8dc533ed11d92526bfd4e20ea459e3af.tar.xz
glibc-4cedcaea8dc533ed11d92526bfd4e20ea459e3af.zip
Add powf bench tests
Add powf() bench test with input which covers these cases:
- positive base to positive exponent
- exponent 0
- negative base to even exponent
- exponent 1
- exponent -1
- squared
- squareroot
- 1 to negative exponent
- -1 to negative exponent
- base 0
- -1 to even exponent
- small base
- small exponent

	* benchtests/Makefile (bench-math): Add powf.
	* benchtests/powf-inputs: New file.
Diffstat (limited to 'benchtests/Makefile')
-rw-r--r--benchtests/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 1e28e87919..37788e8c31 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -23,7 +23,7 @@ subdir := benchtests
 include ../Makeconfig
 bench-math := acos acosh asin asinh atan atanh cos cosh exp exp2 log log2 \
 	      modf pow rint sin sincos sinh sqrt tan tanh fmin fmax fminf \
-	      fmaxf
+	      fmaxf powf
 
 bench-pthread := pthread_once thread_create