NaN Gates and Flip FLOPS

suckerpinch · 314K views · 2019 · 19:08

Open on YouTube

Computer architecture & CPUsSatire & parodydemo

Why Hacker News recommends it

HN fans hold it up as a favorite among his videos and an example of gloriously bonkers technical art, and cite it in floating-point discussions.

What it is

Tom Murphy (suckerpinch) presents a deliberately trollish computer architecture built on IEEE-754 floating point, using NaN and infinity to define logic gates. He builds working hardware around the idea.

Recommended by 7 HN commenters across 7 different months, 2020 to 2025.

What Hacker News said

Strong rec kibwen · 2021-04 · on “Uppestcase and Lowestcase Letters”

Seconded, thirded, and fourthed. My favorite is "NaN Gates and Flip FLOPS", where he dismisses 0 and 1 as being too ugly to be the foundation of all computation and reinvents computing via the beauty of rational numbers, which is to say, the horror of IEEE754 floating point (along with a working hardware implementation!): [this video]

Strong rec kibwen · 2022-12 · on “I ran the length of every street in Pittsburgh: PAC TOM [video]”

Here's my favorite video of his, where he reinvents computing from scratch while eschewing inelegant 1s and 0s for elegant floating-point values: [this video]

Strong rec bakuninsbart · 2023-03 · on “Ask HN: What are some of the most interesting YouTube channels to follow?”

Suckerpinch barely ever releases a video, but when he does they are great. NaN gates and FlipFlops are my favorite: [this video] You can only get good at mathematics by doing, but if there is a channel that helps you get better at math passively it is probably Michael Penns': [LINK]

Recommends anyfoo · 2023-01 · on “ABC: A C compiler for printable x86”

That's a beautiful form of art, somehow. Far away from the only form of art, but it's the kind of art where a) it's very obvious that you have to be extremely proficient in what you are doing (and so the stupid modern art spectator comment "I could have done this" is quelled from its very spark), and b) it's so useless, especially for the amount of effort put in, that it really only exists for itself and to please both creator and spectator. There is one video of his that takes it to an extreme: [this video] - That is not only impossibly bonkers on just about every level, it's also so incredibly useless that the result is not even observable.

Recommends btown · 2023-01 · on “Supporting half-precision floats is really annoying”

Why stop at half-precision floats? Why not go all the way to 3-bit floats? And build a hardware accelerator out of them? Tom Murphy has you covered with: the NaN Gate. [this video] [LINK]

Recommends Recursing · 2023-10 · on “Subtraction Is Functionally Complete”

Reminds me of this wonderful video: [this video] , where he builds computation using only IEEE-754 NaN and infinity

Recommends retsibsi · 2023-12 · on “Gaussian Explosion”

Not sure how well it fits what you're looking for, but if you're not already aware of tom7/suckerpinch, you might get a kick out of some of his videos -- e.g. [this video]

Recommends MathMonkeyMan · 2025-06 · on “Most ints are not floats”

And the operators +, -, *, and / lack some of the properties of addition, subtraction, multiplication, and division. Tom7 has a good video about this: [this video]