compute
Evaluate numeric expressions to get exact rational fractions and decimal values, eliminating arithmetic rounding errors in AI reasoning.
Instructions
Compute the exact rational fraction and decimal value of a numeric expression using zero-drift AST rational arithmetic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expr | Yes | Mathematical expression to evaluate (e.g., '(144 / 12) + 7'). |