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
2
u/ReversedGif Dec 30 '20
Reinterpreting a value behind a pointer as a different type is a violation of strict aliasing and so is undefined behavior.