3 ms·
256 Bit Arithmetic
- petercooper 17y agoAll this fun fiddling around to do what is, on the surface, "simple" math brought back happy memories of reading about the "Carmack" approach of doing inverse square roots in C: http://betterexplained.com/articles/understanding-quakes-fast-inverse-square-root/ http://betterexplained.com/articles/understanding-quakes-fas... as found at Hacker News about 18 months ago: http://news.ycombinator.com/item?id=419166 http://news.ycombinator.com/item?id=419166
- ks 17y agoAccording to this article, John Carmack didn't create that function. http://www.beyond3d.com/content/articles/8/ http://www.beyond3d.com/content/articles/8/
- petercooper 17y agoYeah, I recalled reading something that went into the provenance of it but couldn't bring it up, so I went with the "scare quotes" option to hedge my bets ;-) Good find.
- jrockway 17y agoAny reason not to help gcc generate the good code by default?
- deleted 17y ago[deleted]
- JeanPierre 17y agoI got to admit, even though it was interesting enough, the captcha was more interesting to 'decode'.