floating point conversion practice

Binary value (ABBBBCDDD form)
Decimal value

Instructions

Use this simple program to practice floating point notation using an ABBBBCDDD format (I know, that's nine bits, but that's how we did it in lecture, exact format doesn't really matter) A represents the sign of the mantissa (1 is negative) B represents the mantissa value, C represents sign of the exponent and D is the exponent. Have the computer generate a random binary or decimal value for you by pressing the appropriate button. Work out your answer on paper, then enter it in the other box. Hit the "Check answer" button to check your work.

Andy Harris