mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-24 14:41:06 +08:00
Benchmark test for sqrt function.
This commit is contained in:
parent
639a0ef8ab
commit
fe7da22091
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
subdir := benchtests
|
subdir := benchtests
|
||||||
bench := acos acosh asin asinh atan atanh cos cosh exp log modf pow rint sin \
|
bench := acos acosh asin asinh atan atanh cos cosh exp log modf pow rint sin \
|
||||||
sincos sinh tan tanh
|
sincos sinh sqrt tan tanh
|
||||||
|
|
||||||
# String function benchmarks.
|
# String function benchmarks.
|
||||||
string-bench := bcopy bzero memccpy memchr memcmp memcpy memmem memmove \
|
string-bench := bcopy bzero memccpy memchr memcmp memcpy memmem memmove \
|
||||||
@ -49,6 +49,7 @@ LDLIBS-bench-pow = -lm
|
|||||||
LDLIBS-bench-rint = -lm
|
LDLIBS-bench-rint = -lm
|
||||||
LDLIBS-bench-sin = -lm
|
LDLIBS-bench-sin = -lm
|
||||||
LDLIBS-bench-sinh = -lm
|
LDLIBS-bench-sinh = -lm
|
||||||
|
LDLIBS-bench-sqrt = -lm
|
||||||
LDLIBS-bench-tan = -lm
|
LDLIBS-bench-tan = -lm
|
||||||
LDLIBS-bench-tanh = -lm
|
LDLIBS-bench-tanh = -lm
|
||||||
LDLIBS-bench-sincos = -lm
|
LDLIBS-bench-sincos = -lm
|
||||||
|
10
benchtests/sqrt-inputs
Normal file
10
benchtests/sqrt-inputs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
## args: double
|
||||||
|
## ret: double
|
||||||
|
## includes: math.h
|
||||||
|
0.25
|
||||||
|
0.75
|
||||||
|
2.0
|
||||||
|
4.0
|
||||||
|
2209.0
|
||||||
|
6642.25
|
||||||
|
15190.5625
|
Loading…
x
Reference in New Issue
Block a user