I was "playing" with the fast inverse sqrt function by trying to optimize certain things (fewer variables etc). Here is the final code:
float Q_rsqr