MCPcopy Create free account
hub / github.com/Aghajari/MathParser / calculate

Method calculate

MathParser/src/com/aghajari/math/MathParser.java:385–387  ·  view source on GitHub ↗

Calculates and returns the value of an expression @param exp the simplified expression @param main the original expression

(String exp, String main)

Source from the content-addressed store, hash-verified

383 * @param main the original expression
384 */
385 private double calculate(String exp, String main) throws MathParserException {
386 return calculate(exp, main, false);
387 }
388
389 /**
390 * Calculates and returns the value of an expression.

Callers 3

parseMethod · 0.95
calculateVariablesMethod · 0.95
orderAgainMethod · 0.95

Calls 12

realTrimMethod · 0.95
generateTmpNameMethod · 0.95
isSpecialSignMethod · 0.95
findCharBeforeMethod · 0.95
findCharAfterMethod · 0.95
findBestIndexMethod · 0.95
getFunctionMethod · 0.95
isSpecialParameterMethod · 0.95
attachToParserMethod · 0.95
orderAgainMethod · 0.95
trimMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected