MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / evaluate

Function evaluate

others/postfix_evaluation.cpp:49–78  ·  view source on GitHub ↗

* @brief Evaluate answer using given last two operands from and operation * @param a second last added operand which will be used for evaluation * @param b last added operand which will be used for evaluation * @param operation to be performed with respective floats * @param stack containing numbers * @returns none */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

postfix_evaluationFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected