IEEE 754 Single Precision Simulation

written by Teresa Carrigan


Run model in your browser


Top

WHAT IS IT?

This model demonstrates how the 32-bit IEEE 754 Single Precision representation of a floating point number is interpreted.

Top

HOW IT WORKS

A random 32-digit bit pattern is generated. The first bit tells us the sign. The next eight bits give us the exponent of two. The last 23 bits are the fraction part of the number.


Home

Applets on this website were written by Teresa Carrigan in 2004, for use in computer science courses at Blackburn College, with the exception of the Fireworks applet. The applets made with NetLogo require Java 1.4.1 or higher to run. The applets made with NetBeans require Java 1.4.2 or higher to run. Applets might not run on Windows 95 or Mac OS 8 or 9. You may obtain the latest Java plugin from Sun's Java site.