forked from bonsai/harakit
rpn(1): added alternative representation for powers
This commit is contained in:
parent
d768a257a3
commit
4e040e0021
@ -77,7 +77,7 @@ impl From<&str> for CalcType {
|
|||||||
"-" | "−" => Subtract,
|
"-" | "−" => Subtract,
|
||||||
"*" | "×" => Multiply,
|
"*" | "×" => Multiply,
|
||||||
"/" | "÷" => Divide,
|
"/" | "÷" => Divide,
|
||||||
"^" => Power,
|
"^" | "**" => Power,
|
||||||
"//" => Floor,
|
"//" => Floor,
|
||||||
"%" => Modulo,
|
"%" => Modulo,
|
||||||
_ => {
|
_ => {
|
||||||
|
Loading…
Reference in New Issue
Block a user