Floating Point Numbers - Computerphile
Computerphile2 HN recommenders · recommended in 2 months, 2015-2023
2.5M views · 12 years ago · explainer · evergreen
Tom Scott explains for Computerphile how floating point numbers work, why moving the binary point is fast, and why it handles money badly.
Recommended as a simple, fun explanation of why floating point gives odd errors like 0.1 + 0.2.
1:31:28Stanford Seminar: Beyond Floating Point: Next Generation Computer Arithmetic
Stanford Online
33K views • 9 years ago
9:20An astonishing old calculator - Numberphile
Numberphile
794K views • 8 years ago
1:34:42The Great Debate @ARITH23: John Gustafson and William Kahan
dancefan
4K views • 10 years ago
14:27All the Numbers - Numberphile
Numberphile
1.8M views • 7 years ago
19:08NaN Gates and Flip FLOPS
suckerpinch
314K views • 7 years ago
55:02GradIEEEnt half decent: The hidden power of imprecise lines
suckerpinch
391K views • 3 years ago
20:08Fast Inverse Square Root — A Quake III Algorithm
Nemean
6M views • 5 years ago
12:49Why do people keep getting this wrong‽
Stand-up Maths
2M views • 6 years ago
1:00:17Stephan T. Lavavej “Floating-Point <charconv>: Making Your Code 10x Faster With C++17's Final Boss”
CppCon
41K views • 7 years ago
10:58Flaw in the Enigma Code - Numberphile
Numberphile
5.4M views • 13 years ago
8:45Chip & PIN Fraud Explained - Computerphile
Computerphile
851K views • 11 years ago
13:31Randomness is Random - Numberphile
Numberphile
893K views • 7 years ago
35:33How does Computer Memory Work? 💻🛠
Branch Education
5.5M views • 4 years ago
15:13The Golden Ratio (why it is so irrational) - Numberphile
Numberphile
3.9M views • 8 years ago
1:21:07David Patterson - A New Golden Age for Computer Architecture: History, Challenges and Opportunities
UBC Computer Science
99K views • 7 years ago
9:12Base 12 - Numberphile
Numberphile
2.3M views • 13 years ago
12:24Elliptic Curve Back Door - Computerphile
Computerphile
554K views • 8 years ago
8:00Infinity is bigger than you think - Numberphile
Numberphile
7.7M views • 14 years ago
1:19:38John Hennessy and David Patterson 2017 ACM A.M. Turing Award Lecture
Association for Computing Machinery (ACM)
150K views • 8 years ago
14:06Surreal Numbers (writing the first book) - Numberphile
Numberphile
566K views • 10 years ago
3 comments from Hacker News
You should still not use MONEY in Postgres, even their own website says so [1]. I still wouldn't use floats/numerics/decimals to store currency either in any db generally, as said by others you're going to end up with inaccurate numbers [2]. Therefore using integers is in fact very good for this use-case, especially if you are in accounting or book-keeping! Source: I work for a Fintech company that processes millions of payments. [1] link [2] ▶ this video
Short answer, no decimal in binary and math is hard. :) Here's a couple handy videos explaining it: ▶ this video link
Recommended: Floating Point Numbers - Computerphile ▶ this video Tom Scott's fun and simple take on Floating Points is a good video explaining why such weird errors happen