5 hours ago · Tech · hide · 0 comments

In the Quake III Arena source code, there’s a famous code snippet: float Q_rsqrt( float number ) { long i; float x2, y; const float threehalfs = 1.5F; x2 = number * 0.5F; y = number; i = * ( long * ) &y; // evil floating point...

No comments yet. Log in to reply on the Fediverse. Comments will appear here.