Floating Point Bit Viewer

In order to better understand the IEEE 754 Standard for Binary Floating Point Arithmetic, I created this simple Silverlight application to visualize floats (System.Single) and doubles (System.Double) as they are stored.

If you haven't ever come across it before, I highly recommend reading David Goldberg's paper What Every Computer Scientist Should Know About Floating-Point Arithmetic. If you're like me, you'll need to look through it several times over the course of a few months before the parts that I needed to know started to make sense. (If I could go back in time, I would hold a gun to my own head and force myself to take more math and spend the time really understanding all of the material internally rather than simply well enough to pass the tests I needed to take. You will never know how important advanced math will be to you until you reach a point in your life in which learning it is significantly harder (self study vs. having a teacher/prof; having multiple necessary things competing for your time vs. having all the time in the world; etc.).

Anyway, this took me an afternoon to write and then a few hours over several days to polish it up a bit. Perhaps it will help you as it has helped me. If you'd like, you can right click on it and install it to your computer.

Floating Point Bit Viewer makes use of the MVVM Light Toolkit, which is Copyright © Laurent Bugnion and licensed under the terms of the MIT License.