EvalSpinBox evaluator operators priority backported from PIP

This commit is contained in:
2020-09-07 00:52:51 +03:00
parent 5ed8d8114a
commit 146863a533
2 changed files with 23 additions and 7 deletions

View File

@@ -186,6 +186,7 @@ private:
bool check();
bool execInstructions();
QString operationChar(const QPIEvaluatorTypes::Operation & operation);
void operationsByPriority(int p, QVector<QPIEvaluatorTypes::Operation> & ret);
QPIEvaluatorTypes::Operation operationInOrder(const int & index);
complexd value(const int & index) {if (index < 0) return tmpvars[-index - 1].value; else return kvars->at(index).value;}
inline complexd residue(const complexd & f, const complexd & s);