Power
powerRaise a base to a chosen exponent, including fractional or negative values, to compute exponentiation, square roots, and reciprocals in calculations.
Instructions
Raise a base to a given exponent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | The number to be raised to a power. | |
| exponent | Yes | The power to raise ``base`` to. Can be fractional (e.g. ``0.5`` for square root) or negative (for reciprocal powers). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |