public void Evaluate( Stack<double> stack ) { double b = stack.Pop(); stack.Push( Math.Log( stack.Pop(), b ) ); }