Alg_Power

The Booster for WooCommerce Alg Power class.

Defined (1)

The class is defined in the following location(s).

/includes/lib/PHPMathParser/Expressions.php  
  1. class Alg_Power extends Alg_Operator { 
  2.  
  3. protected $precedence = 5; 
  4.  
  5. public function operate(Alg_Stack $stack) { 
  6. $left = $stack->pop()->operate($stack); 
  7. $right = $stack->pop()->operate($stack); 
  8. return pow($left, $right);