Skip to content
Code Quest
All simulations

Bits and data

Why 0.1 + 0.2 ≠ 0.3

Flip the 32 bits of a decimal number: sign, exponent and fraction. See exactly what is stored, and the error left over.

Taught in the lesson🎯 Why 0.1 + 0.2 is not 0.3 · How Programs Really Run