@Override public void visit(MathFunctionCall node) { node.accept(this); double operandValue = resultValue; switch (node.getFunction()) {
newsqrt.accept(this); } else if (rightc.getValue() == 2.0) { resultExpr = new Multiplication(left, left);
} else if (doubleEquals(rightc.getValue(), 0.5f)) { MathFunctionCall newsqrt = new MathFunctionCall(left, MathFunction.SQRT); newsqrt.accept(this); setGraphModified(); } else if (doubleEquals(rightc.getValue(), 2.0f)) {