About 17,800 results
Open links in new tab
  1. Fast inverse square root - Wikipedia

    Fast inverse square root, sometimes referred to as Fast InvSqrt () or by the hexadecimal constant 0x5F3759DF, is an algorithm that estimates , the reciprocal (or multiplicative inverse) of the square …

  2. John Carmack's Unusual Fast Inverse Square Root (Quake III)

    John Carmack has a special function in the Quake III source code which calculates the inverse square root of a float, 4x faster than regular (float)(1.0/sqrt(x)), including a strange 0x5f3759df con...

  3. Understanding Quake’s Fast Inverse Square Root - BetterExplained

    Understanding Quake’s Fast Inverse Square Root An article and research paper describe a fast, seemingly magical way to compute the inverse square root (1 / x), used in the game Quake. I'm no …

  4. How Quake III Broke the Rules of Math: The Story of the Fast Inverse ...

    Apr 2, 2026 · At first glance, the q_rsqrt function in the Quake III Arena source code looks like a programmer’s prank. It features a handful of bit twiddles, a mysterious hexadecimal constant, and a …

  5. Fast Inverse Square Root — A masterpiece of coding

    Oct 24, 2024 · The original Fast Inverse Square Root Algorithm — Probably John Carmack This algorithm isn’t just a clever trick, it’s a full-blown game-changer that sent shockwaves through the …

  6. Everything I Know About The Fast Inverse Square Root Algorithm

    May 29, 2024 · The fast inverse square root algorithm, made famous (though not invented) by programming legend John Carmack in the Quake 3 source code, computes an inverse square root 1 …

  7. Fast inverse square root - GeeksforGeeks

    Mar 30, 2023 · Fast inverse square root is an algorithm that estimates 1 x x1 , the reciprocal (or multiplicative inverse) of the square root of a 32-bit floating-point number x in IEEE 754 floating-point …

  8. FAST INVERSE SQUARE ROOT CHRIS LOMONT Abstract. Computing reciprocal square roots is necessary in many applications, such as vector normalization in video games. Often, some loss of …

  9. The Fast Inverse Square Root Algorithm • RAW

    Aug 29, 2024 · What is the Fast Inverse Square Root Algorithm? The Fast Inverse Square Root algorithm provides an efficient method to compute 1 x x1, a calculation that is typically resource …

  10. Fast Inverse Square Root - Algorithmica

    The fast inverse square root is based on this identity, and so it needs to calculate the logarithm of x x very quickly. Turns out, it can be approximated by just reinterpreting a 32-bit float as an integer.