Skip to content
Fourohtwo

Evaluate math expressions (64-digit precision, units, matrices)

mpp-tools.fmf-x402.workers.dev/mpp/math/eval

Evaluate math expressions (64-digit precision, units, matrices) — Evaluate one or many expressions with 64-significant-digit arithmetic: functions, constants, complex numbers, matrices, statistics, combinatorics, and unit arithmetic/conversion ("5 km/h to m/s", "2 inch * 3 cm to cm^2"). Variables via scope or earlier lines (x = 3; x^2). Sandboxed parser, no code execution. Price $0.001 per call.

BaseUnchecked
GEThttps://mpp-tools.fmf-x402.workers.dev/mpp/math/eval

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://mpp-tools.fmf-x402.workers.dev/mpp/math/eval");
console.log(await res.json());

Example input

{}

More from FMF Tools FMF Tools Utilities