Labs / Computer Science

Floating-Point Bits

Every number in a computer is just a pattern of bits. Click the boxes to flip the sign, exponent, and mantissa, or type a target and let it snap to the nearest float it can actually store. Watch where the value lands on the number line — the representable points bunch up near zero and spread apart as they grow.

value 0.5gap error

What to try