Number Format converts
arbitrary precision numbers
between hexadecimal, decimal, octal, binary, and two's
compliment. I started this when I was working on a floating
point library because I wanted to see the internal format of the
floating point numbers.
You use it by entering a number in the "in" input field.
When you hit <enter>, it calculates and displays all the
conversions. You tell the gui what base to use simply by adding
the following (standard) base prefixes:
- No prefix tells the gui to treat the number as decimal.
If you look at the screen capture above, you will see that there
are two rows for binary numbers and two for two's complement
numbers. The two rows are the same except the second row places
a space after every eighth bit to make it easier to read.
I provide pre-built executables. To run, just download the
correct executable for your system to any directory and make
sure the file permissions on your copy allow execution.