MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/gzhnbb/ea_published_their_commandconquer_code_on_github/ftkcnlq/?context=3
r/badcode • u/Achereto • Jun 09 '20
36 comments sorted by
View all comments
2
This is the first thing that comes to my mind when thinking of magic number:
John Carmack's Unusual Fast Inverse Square Root (Quake III)
https://medium.com/hard-mode/the-legendary-fast-inverse-square-root-e51fee3b49d9
https://en.wikipedia.org/wiki/Fast_inverse_square_root#Overview_of_the_code
2
u/schwester Jun 10 '20
This is the first thing that comes to my mind when thinking of magic number:
John Carmack's Unusual Fast Inverse Square Root (Quake III)
https://medium.com/hard-mode/the-legendary-fast-inverse-square-root-e51fee3b49d9
https://en.wikipedia.org/wiki/Fast_inverse_square_root#Overview_of_the_code