95 |
|
|
96 |
|
|
97 |
|
|
98 |
string ES_opstrings[]={"UNKNOWN","IDENTITY","+","-","*","/","sin","cos","tan", |
string ES_opstrings[]={"UNKNOWN","IDENTITY","+","-","*","/","^", |
99 |
|
"sin","cos","tan", |
100 |
"asin","acos","atan","sinh","cosh","tanh","erf", |
"asin","acos","atan","sinh","cosh","tanh","erf", |
101 |
"asinh","acosh","atanh", |
"asinh","acosh","atanh", |
102 |
"log10","log","sign","abs","neg","pos","exp","sqrt", |
"log10","log","sign","abs","neg","pos","exp","sqrt", |
103 |
"1/","where>0","where<0","where>=0","where<=0"}; |
"1/","where>0","where<0","where>=0","where<=0"}; |
104 |
int ES_opcount=32; |
int ES_opcount=32; |
105 |
ES_opgroup opgroups[]={G_UNKNOWN,G_IDENTITY,G_BINARY,G_BINARY,G_BINARY,G_BINARY,G_UNARY,G_UNARY,G_UNARY, //9 |
ES_opgroup opgroups[]={G_UNKNOWN,G_IDENTITY,G_BINARY,G_BINARY,G_BINARY,G_BINARY, G_BINARY, |
106 |
G_UNARY,G_UNARY,G_UNARY,G_UNARY,G_UNARY,G_UNARY,G_UNARY, // 16 |
G_UNARY,G_UNARY,G_UNARY, //10 |
107 |
G_UNARY,G_UNARY,G_UNARY, // 19 |
G_UNARY,G_UNARY,G_UNARY,G_UNARY,G_UNARY,G_UNARY,G_UNARY, // 17 |
108 |
G_UNARY,G_UNARY,G_UNARY,G_UNARY,G_UNARY,G_UNARY,G_UNARY,G_UNARY, // 27 |
G_UNARY,G_UNARY,G_UNARY, // 20 |
109 |
|
G_UNARY,G_UNARY,G_UNARY,G_UNARY,G_UNARY,G_UNARY,G_UNARY,G_UNARY, // 28 |
110 |
G_UNARY,G_UNARY,G_UNARY,G_UNARY,G_UNARY}; |
G_UNARY,G_UNARY,G_UNARY,G_UNARY,G_UNARY}; |
111 |
inline |
inline |
112 |
ES_opgroup |
ES_opgroup |
658 |
case DIV: |
case DIV: |
659 |
PROC_OP(divides<double>()); |
PROC_OP(divides<double>()); |
660 |
break; |
break; |
661 |
|
case POW: |
662 |
|
PROC_OP(::pow); |
663 |
|
break; |
664 |
default: |
default: |
665 |
throw DataException("Programmer error - resolveBinary can not resolve operator "+opToString(m_op)+"."); |
throw DataException("Programmer error - resolveBinary can not resolve operator "+opToString(m_op)+"."); |
666 |
} |
} |