Re:C++14: floats, bits, and constant expressions
by sebastic on Monday March 28, 2016 @05:45AM
(#11373405)
I'm glad you're aware of Carmack's association with the fast inverse square root (hopefully you also know that it doesn't originate from him) but the joke here isn't the denigration of the code itself.
The joke is that the original need for a fast inv sqrt is moot at compile-time.
Re:C++14: floats, bits, and constant expressions
by eps on Monday March 28, 2016 @05:56AM
(#11373429)
Ah, compile-time... missed that, sorry. And, no, I didn't know it wasn't a Carmack's code (looked it up just now).
Re:C++14: floats, bits, and constant expressions
by Dylan16807 on Tuesday March 29, 2016 @03:13PM
(#11384067)
Also, chips have a dedicated fast inverse square root function these days, much faster than doing the steps yourself.
Careful now. Making questionable jokes about the work of the great Carmack? Thin ice here, very thin.