Decimal power

decimal-power · version 1.0.0 · Money & pricing · free, no key needed

Raise a decimal string to an integer power exactly, with optional single rounding to a fixed scale.

Use when you need to: raise a decimal to a power exactly · exact integer power of a decimal number · 1.05 to the power of 10.

Decide before calling

Read the versioned contract and the supported scope below. Reuse decimal-power@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use decimal-power@1.0.0 for raise a decimal to a power exactly. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "base": "1.05",
  "exponent": 10
}

Response:

{
  "result": {
    "value": "1.62889462677744140625",
    "exact": true
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "decimal-power",
  "version": "1.0.0",
  "input": {
    "base": "1.05",
    "exponent": 10
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/decimal-power/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"base":"1.05","exponent":10}'

The machine-readable contract is at /v1/tools/decimal-power/versions/1.0.0.

CLI

node cli.mjs run decimal-power 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.