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.

Labs / Computer Science / Floating-Point Bits

Computer Science20–30 minFoundation

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.

Why it matters

Why explore this?

Computer science turns clear rules into reliable processes. This model lets you step through those rules and see how each decision changes the result.