Radicand
Radicand — A maths engine where fractions never decay into decimals. It is a product built with the doaipm method, using Claude Code.
<code>sqrt(12)</code> gives you <code>2√3</code>, not 3.4641016151377544. Symbolic calculus, equation solving, differential equations, exact linear algebra, arbitrary precision and plotting — all of it offline. The kernel is a hand-written Rust engine built on a hash-consed expression DAG: every distinct subexpression is stored exactly once, so differentiation and expansion memoise on a 4-byte handle. Nothing GPL or LGPL anywhere in the tree — no GMP, no MPFR, no Maxima, no PARI — and no HTTP client at all. The landing page compiles the same kernel to WebAssembly, so you can try it in the browser before deciding whether to install anything.
Key capabilities
- Exact arithmetic: <code>1/3 + 1/6 = 1/2</code>, and <code>2^100</code> to the last digit
- Complete factorisation: <code>x^4+4</code> splits into two irreducible quadratics
- Symbolic calculus: derivatives, integrals, limits, Taylor series
- ODEs: first-order linear and separable, second-order constant-coefficient, complex roots returned in real form
- Exact linear algebra: determinants, inverses and eigenvalues without losing precision
- Arbitrary precision: fifty thousand digits of π in 149 ms
- Says so when it cannot: divergent integrals are refused, and every closed form is substituted back into the equation first
- Genuinely offline: no HTTP client in the dependency tree, CSP locked down
At a glance
| Name | Radicand |
|---|---|
| What it is | A maths engine where fractions never decay into decimals |
| Specs | MIT · offline · 3 MB installer · runs in the browser too |
| Website | radicand.doaipm.com |
| Source | github.com/zhitongblog/radicand |
| Built with | the doaipm method + Claude Code |
Built using the doaipm method with Claude Code. See the methodology →