Index

How Computers Work · Floating point: IEEE 754

Inside a float

Your program stores 0.1. What is actually in those 64 bits, and how much precision was lost?

Sixty-four bits hold every number a program calls a double, and each one is a button you can flip. Type a decimal and the page prints what actually got stored, to the last digit, alongside the gap to the very next number that exists. Flip one bit in the middle and watch the whole value jump.

Board: IEEE-754 Decoder →

Sixty-four buttons and a text box. On a narrow screen, the mantissa wraps to several rows. Nothing here animates.

try this Type 0.1 in the box labelled A decimal number, click any exponent bit, and watch The exact value stored move.

Included with a plan

This lab is included with a plan. The first three lessons of every track are free, with their boards and videos. A plan unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in