Tagged articles
6 articles
Page 1 of 1
ELab Team
ELab Team
Dec 15, 2021 · Fundamentals

Unveiling the Magic of Fast Inverse Square Root: How 0x5f3759df Powers Game Physics

This article demystifies the fast inverse square root algorithm used in games, explaining the origin of the infamous 0x5f3759df magic number, the underlying IEEE‑754 floating‑point representation, the evil bit‑hack, Newton iteration steps, and how these tricks accelerate vector normalization.

Fast Inverse Square Rootalgorithmbit hack
0 likes · 17 min read
Unveiling the Magic of Fast Inverse Square Root: How 0x5f3759df Powers Game Physics
Programmer DD
Programmer DD
Nov 27, 2020 · Fundamentals

7 Tiny Code Gems That Pack Massive Power: From Shuffle to Fast Inverse Square Root

This article showcases seven ultra‑compact yet powerful code examples—from a zero‑code deployment tool and a two‑line shuffle algorithm to sleep sort, a one‑line Python AI snippet, a simple tomorrow‑time sleep call, the legendary fast inverse square‑root constant, and the classic hello‑world program.

AlgorithmsFast Inverse Square RootShuffle
0 likes · 6 min read
7 Tiny Code Gems That Pack Massive Power: From Shuffle to Fast Inverse Square Root
ITPUB
ITPUB
Nov 16, 2020 · Fundamentals

7 Unexpected Code Hacks: No‑Code Deployment, Shuffle, Sleep Sort, AI One‑Liner & More

This article showcases seven intriguing code tricks—from a zero‑code deployment project and a concise shuffle algorithm to a sleep‑sort implementation, a one‑line AI chatbot, a simple next‑day timer, the legendary fast inverse square‑root constant, and the classic hello‑world example—each illustrated with brief explanations and runnable snippets.

AlgorithmsFast Inverse Square RootPython
0 likes · 6 min read
7 Unexpected Code Hacks: No‑Code Deployment, Shuffle, Sleep Sort, AI One‑Liner & More
Top Architect
Top Architect
Aug 22, 2020 · Fundamentals

Interesting Code Snippets: No‑Code Project, Shuffle Algorithm, Sleep Sort, Simple AI Loop, Fast Inverse Square Root and More

This article showcases a collection of intriguing code examples—including a no‑code GitHub project, a two‑line shuffle algorithm, the sleep‑sort technique, a minimal AI loop, a fast inverse‑square‑root constant, and a basic hello‑world snippet—while also containing promotional messages.

AlgorithmsFast Inverse Square Rootcode snippets
0 likes · 6 min read
Interesting Code Snippets: No‑Code Project, Shuffle Algorithm, Sleep Sort, Simple AI Loop, Fast Inverse Square Root and More