C++Assignment | homework help websites
December 13th, 2018
Problem #6 (Conversions)
Given the following base 10 decimals
a)3.75
b)0.7
c)89.9
1) Convert to binary, octal and hex, then
2) Convert to Hex float with the first 24 bits representing the
signed fraction and the last 8 bits representing the
signed exponent. Scaled as 0.FRACTION x 2^EXPONENT
3) convert a) to scaled integer binary 1 unsigned byte maximum bits,
convert b) to scaled integer binary 2 unsigned byte maximum bits,
convert c) to scaled integer binary 3 unsigned byte maximum bits,
4) multiply 3) by 1-byte value 7 then shift back to integer and output the result
5) Then convert using IEEE 754 format