Why 0.1 + 0.2 === 0.30000000000000004: Implementing IEEE 754 in JS
Low Byte Productions
0:00 / 0:00
Why 0.1 + 0.2 === 0.30000000000000004: Implementing IEEE 754 in JS
71 850 просмотров · 6 лет назад
Low Byte Productions
87,2 тыс. подписчиков
71 850 просмотров · 6 лет назад
Floating point math is tricky. In this video, we'll learn how these numbers work in computers, and build a software implementation from scratch in JavaScript.
=[ 🔗 Links 🔗 ]=
⭐️ Patreon: / lowleveljavascript
💌 Updates to your inbox: https://tinyletter.com/lowleveljavasc...
Floating Point Arithmetic: https://en.wikipedia.org/wiki/Floatin...
16 Bit Floats: https://en.wikipedia.org/wiki/Half-pr...
IEEE 754 Spec: https://ieeexplore.ieee.org/document/...
Fabien Sanglard's awesome blog on the subject: http://fabiensanglard.net/floating_po...
Denormalised Numbers: https://en.wikipedia.org/wiki/Denorma...
Github Repo: https://github.com/LowLevelJavaScript...