diff --git a/src/rpn.rs b/src/rpn.rs index 6cbb55b..048a593 100644 --- a/src/rpn.rs +++ b/src/rpn.rs @@ -77,7 +77,7 @@ impl From<&str> for CalcType { "-" | "−" => Subtract, "*" | "×" => Multiply, "/" | "÷" => Divide, - "^" => Power, + "^" | "**" => Power, "//" => Floor, "%" => Modulo, _ => {