Commit 3ba4a7a4 authored by Taddeus Kroes's avatar Taddeus Kroes

Added square root operator.

parent 335fe03a
...@@ -30,6 +30,7 @@ OP_MOD = 7 ...@@ -30,6 +30,7 @@ OP_MOD = 7
OP_INT = 8 OP_INT = 8
OP_EXPAND = 9 OP_EXPAND = 9
OP_COMMA = 10 OP_COMMA = 10
OP_SQRT = 11
TYPE_MAP = { TYPE_MAP = {
...@@ -48,6 +49,7 @@ OP_MAP = { ...@@ -48,6 +49,7 @@ OP_MAP = {
'mod': OP_MOD, 'mod': OP_MOD,
'int': OP_INT, 'int': OP_INT,
'expand': OP_EXPAND, 'expand': OP_EXPAND,
'sqrt': OP_SQRT,
',': OP_COMMA, ',': OP_COMMA,
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment