Interactive Demo
Double-double arithmetic on f32 pairs — ~48-bit precision from WebAssembly.
loading module…
1 · Word decomposition
Every value is hi + lo, two f32 words. Type a number and watch it split.
2 · Cancellation: harmonic sum
Hn = Σ 1/k is the classic cancellation case. f32 loses digits; df64 tracks the true answer.
| accumulator | Hn | error vs f64 |
|---|---|---|
| plain f32 | — | — |
| df64 | — | — |
3 · Conjugate gradient (Poisson)
Double-double CG on a tridiagonal 1-D Poisson problem.
4 · Throughput: GEMM
Matrix multiply measured inside the WASM binary (time on JS side).
5 · WGSL kernels
Raw shader sources for a future WebGPU backend.