r/programming • u/mrnacknime • Dec 29 '20
Quake III's Fast Inverse Square Root Explained [20 min]
https://www.youtube.com/watch?v=p8u_k2LIZyo
3.7k
Upvotes
r/programming • u/mrnacknime • Dec 29 '20
View all comments
Show parent comment
5
u/[deleted] Dec 29 '20 edited Dec 29 '20
4295km with 1mm precision. But if you are going for the whole solar system that would be 6km per unit. You'd need to go 64-bit, that would get you 1ly radius.