IEEE 754 Single Precision Simulation

written by Teresa Carrigan


Run model in your browser


Top

EXTENDING THE MODEL

Allow the user to input a starting bit pattern.

Allow the user to input a number in Binary Scientific Notation, and then display the corresponding bit pattern.

Allow the user to input a decimal number, and then display the corresponding bit pattern.

Display the decimal equivalent of the bit pattern.

Top

NETLOGO FEATURES

one-step uses the NetLogo run command combined with a global integer variable step to run the next step, without needing nested ifelse blocks.

handle-special-case uses a similar trick to call the appropriate special case handling procedure, without using ifelse blocks.


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.