calculate
Evaluate arbitrary-precision math expressions exactly to fix LLM arithmetic errors. Supports operators and functions like sqrt, sin, log.
Instructions
Evaluate an arbitrary-precision math expression exactly (fixes LLM multi-digit arithmetic errors). Supports +,-,*,/,^,sqrt(),sin(),log(), etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | Math expression, e.g. "123456789 * 987654321" or "sqrt(2)^10" |