-
Notifications
You must be signed in to change notification settings - Fork 6
/
valid_expressions.input.txt
executable file
·27 lines (27 loc) · 1.2 KB
/
valid_expressions.input.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
0,0,,0.000000
-10.5,( - 10.5 ),,-10.500000
x,x,x 10,10.000000
x+y,( x + y ),x 3 y 4,7.000000
x + y,( x + y ),x -1 y -2,-3.000000
0 + y,( 0 + y ),y 5,5.000000
x * 1 + x,( ( x * 1 ) + x ),x 4,8.000000
x - 1 + x,( ( x - 1 ) + x ),x 1,1.000000
x*(y+x*x*y+x)*y,( ( x * ( ( y + ( ( x * x ) * y ) ) + x ) ) * y ),x 0.25 y 0.5,0.097656
log(x),log( x ),x 3,1.098612
exp(-2),exp( ( - 2 ) ),,0.135335
exp(z) * sqrt( log(1.0/x) ),( exp( z ) * sqrt( log( ( 1 / x ) ) ) ),x 0.25 z 0.5,1.941221
1- 1,( 1 - 1 ),,0.000000
1- -1,( 1 - ( - 1 ) ),,2.000000
4^5,( 4 ^ 5 ),,1024.000000
x^y,( x ^ y ),x 2 y 3,8.000000
2*x^y,( 2 * ( x ^ y ) ),x 2 y 3,16.000000
x^y*3,( ( x ^ y ) * 3 ),x 2 y 3,24.000000
x^y^z,( x ^ ( y ^ z ) ),x 2 y 4 z 0.5,4.000000
2^exp(z),( 2 ^ exp( z ) ),z 2,167.620652
exp(log(exp(log(exp(log(exp(log(exp(log(5)))))))))),exp( log( exp( log( exp( log( exp( log( exp( log( 5 ) ) ) ) ) ) ) ) ) ),,5.000000
((((xzabc))))*exp((y))+(10),( ( xzabc * exp( y ) ) + 10 ),xzabc 2 y 3,50.171074
abcdefghijklmnopqrstuvwxyz+4,( abcdefghijklmnopqrstuvwxyz + 4 ),abcdefghijklmnopqrstuvwxyz 4,8.000000
x--x,( x - ( - x ) ),x 5,10.000000
5-- 5,( 5 - ( - 5 ) ),,10.000000
x^(-1.5),( x ^ ( - 1.5 ) ),x 3,0.192450
x^-1.5,( x ^ ( - 1.5 ) ),x 3,0.192450