AN EXPLORABLE LESSON ON TINY NUMBERS

An 8-bit AI number cannot count to 17.

AI chips can calculate with numbers only 8 or even 4 bits wide. A study of those formats was on the Hacker News front page on 29 November 2026. Start at 0, keep adding 1, and watch what happens in E4M3, one of the two common 8-bit formats.

Guess first: where does the counter stop going up?
0
Press +1.

Pick a format

Build a number bit by bit

Tap bits to flip them. Sign, exponent (how big), mantissa (how precise).

Every positive value it can hold

Each tick is one number the format can store. Drag the zoom: the gap doubles at every power of two. Your bit pattern is the long marker.

Your turn: what does it store?

Type any number. The format keeps the closest value it has (ties go to the pattern ending in 0, the usual IEEE 754 rule).

Side by side

FormatBitsLargestFirst whole number missed+1 stalls at

Why it stalls

With 3 mantissa bits plus one hidden leading 1, E4M3 has 4 significant bits. From 16 to 32 its values are 2 apart: 16, 18, 20. So 16 + 1 = 17 lies exactly halfway. The tie rule picks 16, the pattern ending in 0. Next step: 16 + 1 again. Forever.

That does not make AI maths wrong by itself. The paper behind today's discussion rebuilds 64-bit precision from many low-precision matrix multiplications, and its authors report FP4, FP8 and INT8 schemes running faster than native FP64 on three Nvidia Blackwell GPUs. This page does not reproduce that. It only shows the small building blocks. In real hardware sums are normally collected in a wider accumulator, and the rounding mode is an implementation choice.

Sources

Micikevicius et al., FP8 Formats for Deep Learning (2022), Table 1: E4M3 and E5M2 encodings, largest values 448 and 57,344. Rouhani et al., Microscaling Data Formats for Deep Learning (2023): FP4 is E2M1. Wikipedia, Minifloat (secondary), accessed 29 November 2026. FP16 is IEEE 754 half precision. Mazumder, Calotoiu and Hoefler, arXiv 2609.37693 (29 September 2026). All values on this page are computed live from the bit rules.