Why Every Computer Fails Basic Math

javascript
youtube
Why Every Computer Fails Basic Math It is a meme at this point that JavaScript sucks since it cannot even add 0.1 and 0.2 correctly. This is true, but it is not a problem with JavaScript. This is a problem with every single programming language and every single computer ever developed since they all use binary for their calculations which is why computers fail to add this correctly. In this video I will show you why this problem exists, then show you why it is important to you, before finally wrapping up with a nerdy deep dive into how computers handle floating point numbers. 📚 Materials/References: IEEE 754 Calculator: 🌎 Find Me Here: My Blog: My Courses: Patreon: Twitter: Discord: GitHub: CodePen: ⏱️ Timestamps: 00:00 - Introduction 00:58 - Binary Integers 04:04 - Binary Decimals 05:17 - The Problem With 0.1 + 0.2 07:56 - Why This Is Important 10:26 - Nerdy Deep Dive #Binary #WDS #JavaScript
  2024/05/21      youtube

関連するプログラミング動画 [javascript]

Our Tag

最近投稿されたプログラミング学習動画

How presenting a project to industry partners got Alison and Cindy inv

github

Sometimes, sharing your projects with in...

  2026/01/31

This could change the way you code!

DevLaunch is my mentorship program where...

  2026/01/30

Getting into computer science thanks to a supportive teacher and skipp

In this episode of the podcast, Cindy te...

  2026/01/30

Start using MCP in DevTools today!

DevTools now also offers an MCP server w...

  2026/01/29

This is how AI has simplified my life!

DevLaunch is my mentorship program where...

  2026/01/29

Observing AI Applications with OpenLit and OpenTelemetry - Carly Richm

This talk was recorded at NDC Manchester...

  2026/01/29

Why Auto-Fixing Vulnerable Code Needs More Than Good Intentions - Spyr

When Vibes Don’t Build: Why Auto-Fixing ...

  2026/01/29

Prompting LLMs to use Tools and Resources with MCP - Richard Brough -

This talk was recorded at NDC Manchester...

  2026/01/29

Breaking and Protecting GitHub IssueOps Pipelines - Alexander Barabano

github

This talk was recorded at NDC Manchester...

  2026/01/29

Designing Scalable, Secure Data Architectures for AI at Enterprise Sca

Design

The Trust Stack: Designing Scalable, Sec...

  2026/01/29

Your AI Is Still Biased (Even After You Checked) - Dr. Neda Maria Kaiz

This talk was recorded at NDC Manchester...

  2026/01/29

Your Resume Isn't The Problem...

DevLaunch is my mentorship program where...

  2026/01/29

How can you, as a dev, get the most out of AI tools?

How can you, as a dev, get the most out ...

  2026/01/29

Building a multi-user productivity app | Code, Commit, Deploy, Repeat

Watch as we build a fully functional nat...

  2026/01/29

Can you use frameworks to build a Chrome Extension?

chrome

Explore the benefits and considerations ...

  2026/01/28

This is how I've been using AI recently.

DevLaunch is my mentorship program where...

  2026/01/28