agm
Compute the arithmetic-geometric mean of two numbers with adjustable precision.
Instructions
Compute the arithmetic-geometric mean.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | First number. | |
| y | No | Second number (if None, uses x and 1). | |
| precision | No | Optional precision. |