This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Add powf bench tests
- From: Paul Clarke <pc at us dot ibm dot com>
- To: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Cc: Joseph Myers <joseph at codesourcery dot com>
- Date: Fri, 9 Jun 2017 16:53:51 -0500
- Subject: [PATCH] Add powf bench tests
- Authentication-results: sourceware.org; auth=none
- Reply-to: pc at us dot ibm dot com
2017-06-09 Paul A. Clarke <pc@us.ibm.com>
* benchtests/Makefile (bench-math): Add powf.
* benchtests/powf-inputs: Copy from benchtests/pow-inputs.
---
benchtests/Makefile | 2 +-
benchtests/{pow-inputs => powf-inputs} | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
copy benchtests/{pow-inputs => powf-inputs} (99%)
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 7f5fda5..f49e9a0 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
diff --git a/benchtests/pow-inputs b/benchtests/powf-inputs
similarity index 99%
copy from benchtests/pow-inputs
copy to benchtests/powf-inputs
index 78f8ac7..cb8620d 100644
--- a/benchtests/pow-inputs
+++ b/benchtests/powf-inputs
@@ -1,5 +1,5 @@
-## args: double:double
-## ret: double
+## args: float:float
+## ret: float
## includes: math.h
42.0, 42.0
-0x1.086f771a2b37bp696, 0x1.592b453fe869fp-81
--
1.8.3.1
Regards,
PC