Talks to Watch

NaN Gates and Flip FLOPS

314K views · Apr 1, 2019 · 19:08 · 7 HN recommenders · 9 mentions · discussed 2020–2025

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.

Why Hacker News points people here: 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.

“Suckerpinch barely ever releases a video, but when he does they are great.”HN comment, 2023

What Hacker News said 9

Strongly recommendskibwenApr 2021

“My favorite is "NaN Gates and Flip FLOPS”

Reinvents computing with IEEE754 floats, with working hardware

Full comment

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

in “Uppestcase and Lowestcase Letters” · view on HN
Strongly recommendskibwenDec 2022

“Here's my favorite video of his”

Reinvents computing using floating-point values instead of 1s and 0s

Full comment

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

in “I ran the length of every street in Pittsburgh: PAC TOM [video]” · view on HN
Strongly recommendsbakuninsbartMar 2023

“Suckerpinch barely ever releases a video, but when he does they are great.”

Favorite video from a rare-but-great creator

Full comment

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

in “Ask HN: What are some of the most interesting YouTube channels to follow?” · view on HN
RecommendsanyfooJan 2023

“That is not only impossibly bonkers on just about every level”

Extreme, bonkers, useless-by-design technical art

Full comment

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.

in “ABC: A C compiler for printable x86” · view on HN
RecommendsbtownJan 2023

“Tom Murphy has you covered with: the NaN Gate.”

Hardware accelerator built on NaN gates

Full comment

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

in “Supporting half-precision floats is really annoying” · view on HN
RecommendsRecursingOct 2023

“Reminds me of this wonderful video”

Builds computation using only NaN and infinity

Full comment

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

in “Subtraction Is Functionally Complete” · view on HN
RecommendsretsibsiDec 2023

“you might get a kick out of some of his videos”

Example of tom7's fun videos

Full comment

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

RecommendsMathMonkeyManJun 2025

“Tom7 has a good video about this”

Explores how float operators lack arithmetic properties

Full comment

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

Cites ithxtkAug 2020

“made a video in which he managed to define a logic system using NaN and +∞”

Defines logic system using NaN and infinity via min and max

Full comment

The only reason I know what to expect is because Suckerpinch on YouTube made a video in which he managed to define a logic system using NaN and +∞, and does so by abusing min and max, among other expressions: this video

in “Math.min(Math.max(num, min), max)” · view on HN