DigiNews

Tech Watch by Johan Denoyer

← Back to articles

A decades-old bug in Knuth's long division (TAOCP Vol II, Algorithm 4.3.1D)

Quality: 8/10 Relevance: 9/10

Summary

A technical blog post recounts discovering a decades-old bug in Knuth's Algorithm D for long division, explores the mathematical underpinnings of long division, and discusses the interplay between theory and implementation, including an LLVM bug and a 2026 errata. It situates the discussion within historical division algorithms and practical implications for software libraries and cryptographic arithmetic.

🚀 Service construit par Johan Denoyer