1 title 'Test optimization of constant expressions'.
4 ----------------------------------------------------------------------
5 Testing ability of stat to optimize constant expressions.
6 stat must have been compiled with debugging enabled in order to
8 ----------------------------------------------------------------------
11 eval (4-2+6.323)*(0/4-1)*(1-3+abs(-9.78)).
12 eval 3**(2**(8/2*3/4)).
28 eval (1 gt 2) and (2 gt 1).
29 eval (7/8+1 lt 2) or (2-1/6 lt 1).
35 eval arcos(sqrt(2)/2).
36 eval arsin(sqrt(2)/2).
39 eval cos(3.141592654/4).
40 eval cos(3.141592654/6).
45 eval ln(2.71828182846).
56 eval sin(2*3.141592654).
57 eval sin(3.141592654/6).
59 eval tan(3.141592654/8).
60 eval trunc(3.141592654).