continued_fraction_expansion
Compute the continued fraction expansion of any real number to analyze its rational approximations and mathematical properties.
Instructions
Compute continued fraction expansion of a real number. (Domain: arithmetic, Category: continued_fractions)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"x": "<x>"
},
"name": "continued_fraction_expansion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| max_terms | No | ||
| tolerance | No |