Skip to content

Commit d0b6c8c

Browse files
committed
1. Updated readme
2. Updated bench_expr.txt 3. Cleanup for muParserX benchmark 4. Updated ExprTk
1 parent ae91136 commit d0b6c8c

File tree

8 files changed

+692
-175
lines changed

8 files changed

+692
-175
lines changed

bench_expr.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ a^2+1
3838

3939
# hornerschema:
4040
(((((((7*a+6)*a+5)*a+4)*a+3)*a+2)*a+1)*a+0.1)
41-
7*a^7 + 6*a^6 + 5*a^5 + 4*a^4 + 3*a^3 + 2*a^2 + 1*a^1 + 0.1
41+
7*a^7+6*a^6+5*a^5+4*a^4+3*a^3+2*a^2+1*a^1+0.1
4242

4343
# distance calculation
4444
sqrt(a^2+b^2)
@@ -75,6 +75,9 @@ a*2+2*b
7575
a*-b
7676
a/-b
7777
(a/((((b+(((e*(((((pi*((((3.45*((pi+a)+pi))+b)+b)*a))+0.68)+e)+a)/a))+a)+b))+b)*a)-pi))
78+
(5.5+a)+(2*a-2/3*b)*(a/3+b/4)+(c+7.7)
79+
((((a)-(b))+((c)-(x)))/(((y)-(z))+((w)-(a))))*((((b)-(c))+((x)-(y)))/(((z)-(w))+((a)-(b))))
80+
((((2*a)-(b*3))+((4*c)-(x*5)))/(((y/6)-(7/z))+((w/8)-(a^2))))*((((b^3)-(c/4))+((5/x)-(6/y)))/(((z/7)-(8/w))+((a)-(b))))
7881

7982
# expressions with functions
8083
a+(cos(b-sin(2/a*pi))-sin(a-cos(2*b/pi)))-b

0 commit comments

Comments
 (0)