17 pointsby DamnInteresting4 hours ago5 comments
  • dcanelhas4 hours ago
    https://en.wikipedia.org/wiki/Fast_inverse_square_root for those who just want the info without AI filler
  • bastscho4 hours ago
    It's not a mystery per se.

    It's explained exceptionally well here [0].

    [0] https://youtu.be/p8u_k2LIZyo?si=loEDS5hPcRGWXk0E

    • bee_rider3 hours ago
      Yeah, it wasn’t a real mystery (as noted in the Wikipedia article, it already existed in the numerical literature). But practically it would have surprised a lot of programmers in the days before Wikipedia, when you’d have had to read a somewhat specialized textbook or a paper to learn about it.

      Plus the exact constant selected and the method used to derive it remains a minor mystery, right? In the sense that it is good but non-optimal.

    • Antibabelic3 hours ago
      The "mystery" being referred to in the title is how the magic number was derived. This is what most of the article talks about.
    • 4 hours ago
      undefined
    • calibas4 hours ago
      Calling it a "mystery" gets suckers like me to click the link.
  • leshokunin3 hours ago
    Ignore the clickbait aspect. It is one of the craziest flexes in game development.

    The guy had made Doom (nice fast pseudo 3D), Quake (fast 3D), and now made it look great.

    Finding obscure math and figuring out that it was the correct fit for his renderer is just so bonkers.

  • ginko4 hours ago
    The wikipedia article gives a lot more detail and history than this fluff piece:

    https://en.wikipedia.org/wiki/Fast_inverse_square_root

  • josefritzishere2 hours ago
    This could have been a good article except for all the AI slop. The future is bleak.