Back

#math

2 APIs with this tag

Number Base Converter API

Convert integers between any numeral systems with exact big-integer math. Pass a number and a from/to base (radix 2 to 36, arbitrarily large, signed) and the convert endpoint returns the result and the decimal value; common 0x, 0b and 0o prefixes are accepted when they match the base, and whitespace or underscores in the input are ignored. The bases endpoint shows a single number across binary, octal, decimal, hexadecimal, base32 and base36 at once, together with its bit length, byte length and sign. Everything is computed locally with BigInt, so values of any size are exact and deterministic. Ideal for low-level and embedded debugging, networking and bit-twiddling work, teaching number systems, and anywhere you juggle hex, binary and decimal. A numeral-base converter — distinct from the text-encoding toolkit (encoding: base64/base32/hex of bytes), the Elixir/Erlang Hex package registry (hex) and number-to-words (numberwords). No upstream key, no cache.

api.oanor.com/baseconvert-api

Math API

A full math engine as an API, powered by mathjs. Evaluate any expression — arithmetic, hundreds of functions (sqrt, sin, log, gcd, factorial, combinations, …), constants (pi, e), complex numbers, matrices and number theory — with optional precision control (e.g. 2+3*sqrt(16) → 14, pi at 5 digits → 3.1416). Take the symbolic derivative of an expression with respect to a variable (x^2+3x → 2*x+3), and simplify algebra (2x+3x → 5*x). No formula libraries to bundle, no maths to reimplement: send an expression, get the answer. Ideal for calculators and STEM education apps, spreadsheet and form logic, quiz and homework tools, engineering and data dashboards, and any product that needs reliable server-side computation.

api.oanor.com/math-api