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).
[ Parent
| on HN ]
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.