Evaluate math expressions inline using Python's math engine.
Requires Python installed on the system.
| Trigger | Output | Example |
|---|---|---|
:calc | Result only | 1013.5 |
:xcalc | Expression = Result | (10^3) + sqrt(144) = 1012 |
+, -, *, /^ or **sqrt(x), pow(x, y)sin(x), cos(x), tan(x), asin, acos, atanlog(x), log2(x), log10(x)ceil(x), floor(x), factorial(x)pi, e, tau(19+1)^2 → 400sqrt(144) → 12sin(pi/2) → 1log10(1000) → 3factorial(6) → 720(sqrt(2)+1)^2 → 5.828427124Full list of available functions: https://docs.python.org/3/library/math.html