Origin of Quake3's Fast InvSqrt() 402
geo writes "Beyond3D.com's Ryszard Sommefeldt dons his seersucker hunting jacket and meerschaum pipe to take on his secret identity as graphics code sleuth extraordinaire. In today's thrilling installment, the origins of one of the more famous snippets of graphics code in recent years is under the microscope — Quake3's Fast InvSqrt(), which has been known to cause strong geeks to go wobbly in the knees while contemplating its simple beauty and power." From the article: ""
A famous quote (Score:5, Funny)
Re:A famous quote (Score:5, Funny)
I know who wrote it (Score:5, Funny)
Re:And so why do we care? (Score:5, Funny)
I was a little worried when Slashdot posted the Britney Spears beaver pictures, but they now have their credibility back as the home of "News for Nerds".
Obviously SCO's intellectual property! (Score:5, Funny)
Re:And so why do we care? (Score:5, Funny)
Re:And so why do we care? (Score:3, Funny)
Hmmmm
Old and busted: Duff's device (Score:4, Funny)
Naah, just kidding. They both deserve a spot in the Clever Hacks Hall of Fame
Hmm... (Score:2, Funny)
Re:And so why do we care? (Score:5, Funny)
InvSquirt!?-Sperm. (Score:1, Funny)
Re:Hmm... (Score:3, Funny)
Ummmm
It Was Obviously... (Score:4, Funny)
Re:This paper seems to have the info (Score:5, Funny)
Re:Poor function name (Score:4, Funny)
Error! (Score:3, Funny)
Re:And so why do we care? (Score:5, Funny)
--
Evan
Re:A famous quote (Score:5, Funny)
Interesting smiley... is that a dead man with a fraction in his mouth and a prominent Adam's Apple, wearing a bow tie and a dress and standing on a toy race car?
What's your point, man?
Re:It Was Obviously... (Score:5, Funny)
int MakeYouMyBitch7 () {
int my_bitch = MakeYouMyBitch() * MakeYouMyBitch2();
return MakeYouMyBitch36(my_bitch);
}
Just terrible.
Re:A famous quote (Score:3, Funny)
Anyway I'm not convinced.
Alternate mod type (Score:2, Funny)
Re:A famous quote (Score:3, Funny)
Re:It may in part be related to something I did .. (Score:3, Funny)
You don't (happen to (program (lisp))) do you?
Re:It might be damn smart.. (Score:3, Funny)
Re:A famous quote (Score:4, Funny)
int i = *(int*)&x;
i = 0x5f3759df - (i >> 1);
Then I'm afraid the whole article is going to be lost on you...
We've got a floating point being operated on as an integer.
We've got a mysterious constant.
We've got a two's complement sign-flip combined with a bit-shift.
The only thing missing from this party is hookers and beer.
Re:A famous quote (Score:3, Funny)
Re:A famous quote (Score:3, Funny)