Quake-3 fast inverse square root algorithm
C++
How do you compute \(\frac{1}{\sqrt{x}}\) quickly and efficiently? There’s a cool piece of code found in Quake III source code attributed to the legendary game programmer Joh…
Jun 21, 2026
This blog is a no-fluff collection of C++ code snippets, tips, puzzles and C++ projects. Here, I have also documented my deep-dives on concurrency, performance and computer architecture topics.