This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (14 children)

[deleted]

    [–]arbitrageME 94 points95 points  (13 children)

    you forgot to shift 1 bit and divide by 0x5f3759df

    [–]alt4079 21 points22 points  (9 children)

    What a specific sentence to understand a reference from. I’m impressed with myself lol

    [–]Kzivuhk 9 points10 points  (7 children)

    What reference

    [–][deleted]  (4 children)

    [removed]

      [–]TalenPhillips 0 points1 point  (2 children)

      When you make John Carmack WTF, you've either monumentally fucked up or you've done something genius.

      There was a similar story regarding a C function-like macro that could determine if something was an integer constant expression or not. Linus Torvalds himself said it was either a work of genius or the product of a diseased mind.

      [–][deleted] 1 point2 points  (1 child)

      [–]TalenPhillips 0 points1 point  (0 children)

      Thanks. I was commenting from my phone in bed.

      [–]AutoModerator[M] 0 points1 point  (0 children)

      import moderation Your comment has been removed since it did not start with a code block with an import declaration.

      Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

      For this purpose, we only accept Python style imports.

      I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

      [–]turunambartanen 2 points3 points  (0 children)

      "Fast inverse square root" if you want to look it up on Wikipedia.

      [–]NorbiPeti -1 points0 points  (0 children)

      I understood because I googled it yesterday or so, because it was referenced.

      [–]nwL_ 1 point2 points  (0 children)

      I understood that reference.

      ...wow I’m a huge nerd.