[1/3] benchtests: fmod benchmark
Commit Message
This patch add a fmod benchmark with finite-only inputs.
Tested on powerpc64 and powerpc32.
--
* benchtests/Makefile [bench-math]: Add fmod benchmark.
* benchtests/fmod-inputs: New file: fmod input file.
---
Comments
On 12 November 2014 02:33, Adhemerval Zanella
<azanella@linux.vnet.ibm.com> wrote:
> This patch add a fmod benchmark with finite-only inputs.
>
> Tested on powerpc64 and powerpc32.
>
> --
>
> * benchtests/Makefile [bench-math]: Add fmod benchmark.
> * benchtests/fmod-inputs: New file: fmod input file.
Looks OK.
Thanks,
Siddhesh
@@ -23,7 +23,7 @@ subdir := benchtests
include ../Makeconfig
bench-math := acos acosh asin asinh atan atanh cos cosh exp exp2 ffs ffsll \
- log log2 modf pow rint sin sincos sinh sqrt tan tanh
+ fmod log log2 modf pow rint sin sincos sinh sqrt tan tanh
bench-pthread := pthread_once
new file mode 100644
@@ -0,0 +1,5 @@
+## includes: math.h
+## args: double:double
+0.0, 3.0
+6.5, 2.25
+0x0.fffffep-126L, 0x1p-149