Use the following strings as sample data. (Note that the numbers are presented both in base 2 and base 16 for redundancy/reliability. Your program need only read/convert the base 2 version.)
- 01000010000000000000000000000000 0x42000000
- 10111101100000000000000000000000 0xbd800000
- 01001001011101110001001011100000 0x497712e0
- 11000001110010011001100110011010 0xc1c9999a
- 10110101100001100011011110111101 0xb58637bd
- 00000000000000000000000000000000 0x00000000
- 01011101010111100000101101101011 0x5d5e0b6b
- 01101010001001010110111110100110 0x6a256fa6
- 01000001100000101010101010101010 0x4182aaaa
Patrick Juola / juola@mathcs.duq.edu / revised 13.Jan.2014