mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
Sqrt
This commit is contained in:
@@ -87,6 +87,7 @@ class NumericStringParser(object):
|
||||
"tan": math.tan,
|
||||
"exp": math.exp,
|
||||
"abs": abs,
|
||||
"sqrt": lambda a: math.sqrt(a),
|
||||
"trunc": lambda a: int(a),
|
||||
"round": round,
|
||||
"sgn": lambda a: abs(a) > epsilon and self.cmp(a, 0) or 0}
|
||||
|
||||
Reference in New Issue
Block a user