Tiny local model writes a C program that nails 1,000 digits of pi after an hour on a laptop
yb2698 · x · 2026-12-01
sojoodi shared full instructions for running the Inkling-2-Mini pi-adapted GGUF model locally via Ollama: download the Q80 quant, write a Modelfile with 65536 context, then ollama create and ollama launch pi.
Prompted to "write a C program that calculates pi to any digit," the laptop fans roared for about an hour — but the result was impressive. Screenshots show the generated program uses exact fixed-point integers scaled by 10^(N+12) with 12 guard digits, verified correct against an independent Python reference for digits 1–500, with a working 1,000-digit run. Notes suggest switching to Chudnovsky+FFT above 1M digits.
More from coding & agent
- Compound Engineering v3.40 ships better Antigravity support and smarter skills — kieranklaassen · 2026-12-01
- MCP server + Blender experiments orchestrate 3D scenes instead of image generation — generatecoll · 2026-12-01
- Antigravity says it is rewriting its ToS amid agent automation restrictions debate — soumitrashukla9 · 2026-12-01
- OpenClaw dev urges Antigravity to fix ToS: any subagent or automation violates it — soumitrashukla9 · 2026-12-01
- Talking to your coding agent while sharing a live canvas turns out to be a great way to debug performance — DanielLockyer · 2026-12-01
- NVIDIA is hiring researchers and engineers to build agentic AI for CUDA — humphrey_shi · 2026-12-01