MCPcopy Create free account
hub / github.com/HarshCasper/NeoAlgo / evaluate

Function evaluate

C-Plus-Plus/stack/string_expression_evaluation_bodmas.cpp:60–165  ·  view source on GitHub ↗

Two stacks are used. 'values' stack is used to store the operands 'operators' stack is used to hold the operators

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 7

calculateFunction · 0.85
emptyMethod · 0.80
precedenceFunction · 0.70
lengthMethod · 0.45
pushMethod · 0.45
topMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected