Floating Point Bit Hacks Every Programmer Should Know (Including Fast Inverse Square Root - Quake)

Опубликовано: 31 Март 2026
на канале: Creel
65,099
2.2k

This is the final IEEE tutorial we'll be looking at some incredibly powerful techniques folks have developed for manipulating IEEE floats. These tricks don't give IEEE accuracy but they all rely on a very detailed knowledge of the bit format in order to understand. They can be used to approximate various mathematical functions and some of them can speed the operations up by 4 times!