HackerTube English?

Fast Inverse Square Root — A Quake III Algorithm

NemeanYouTube ↗

档案导读

A walkthrough of the Quake III fast inverse square root, explaining where the constant 0x5f3759df comes from. It covers IEEE 754 floats, the bit hack that approximates a logarithm, and a Newton's method refinement.

Hacker News 评论

查看 HN 原评论 ↗