a) Converting 48.0 to binary Convert decimal part first, then the fractional part > First convert 48 to binary Divide 48 successively by 2 until the quotient is 0 > 48/2 = 24, remainder is 0 > 24/2 = 12, remainder is 0 > 12/2 = 6, remainder is 0 > 6/2 = 3, remainder is 0 > 3/2 = 1, remainder is 1 > 1/2 = 0, remainder is 1 Read remainders from the bottom to top as 110000 so, 48.0 in binary is 110000.0 48.0 in simple binary => 110000.0 so, 48.0 in normal binary is 110000.0 => 1.1 * 2^5 single precision: -------------------- sign bit is 0(+ve) exp bits are (127+5=132) => 10000100 Divide 132 successively by 2 until the quotient is 0 > 132/2 = 66, remainder is 0 > 66/2 = 33, remainder is 0 > 33/2 = 16, remainder is 1 > 16/2 = 8, remainder is 0 > 8/2 = 4, remainder is 0 > 4/2 = 2, remainder is 0 > 2/2 = 1, remainder is 0 > 1/2 = 0, remainder is 1 Read remainders from the bottom to top as 10000100 So, 132 of decimal is 10000100 in binary frac bits are 10000000000000000000000 so, 48.0 in single-precision format is 0 10000100 10000000000000000000000 Converting 01000010010000000000000000000000 to hexadecimal 0100 => 4 0010 => 2 0100 => 4 0000 => 0 0000 => 0 0000 => 0 0000 => 0 0000 => 0 So, in hexadecimal 01000010010000000000000000000000 is 0x42400000 in hexadecimal it is 0x42400000 Answer: 0x42400000 b) Converting 11.11 to binary Convert decimal part first, then the fractional part > First convert 11 to binary Divide 11 successively by 2 until the quotient is 0 > 11/2 = 5, remainder is 1 > 5/2 = 2, remainder is 1 > 2/2 = 1, remainder is 0 > 1/2 = 0, remainder is 1 Read remainders from the bottom to top as 1011 So, 11 of decimal is 1011 in binary > Now, Convert 0.11000000 to binary > Multiply 0.11000000 with 2. Since 0.22000000 is < 1. then add 0 to result > Multiply 0.22000000 with 2. Since 0.44000000 is < 1. then add 0 to result > Multiply 0.44000000 with 2. Since 0.88000000 is < 1. then add 0 to result > Multiply 0.88000000 with 2. Since 1.76000000 is >= 1. then add 1 to result > Multiply 0.76000000 with 2. Since 1.52000000 is >= 1. then add 1 to result > Multiply 0.52000000 with 2. Since 1.04000000 is >= 1. then add 1 to result > Multiply 0.04000000 with 2. Since 0.08000000 is < 1. then add 0 to result > Multiply 0.08000000 with 2. Since 0.16000000 is < 1. then add 0 to result > Multiply 0.16000000 with 2. Since 0.32000000 is < 1. then add 0 to result > Multiply 0.32000000 with 2. Since 0.64000000 is < 1. then add 0 to result > Multiply 0.64000000 with 2. Since 1.28000000 is >= 1. then add 1 to result > Multiply 0.28000000 with 2. Since 0.56000000 is < 1. then add 0 to result 0.10999999999999943 of decimal is .000111000010 in binary so, 11.11 in binary is 1011.000111000010 11.11 in simple binary => 1011.000111000010 so, 11.11 in normal binary is 1011.000111000010 => 1.011000111000010 * 2^3 single precision: -------------------- sign bit is 0(+ve) exp bits are (127+3=130) => 10000010 Divide 130 successively by 2 until the quotient is 0 > 130/2 = 65, remainder is 0 > 65/2 = 32, remainder is 1 > 32/2 = 16, remainder is 0 > 16/2 = 8, remainder is 0 > 8/2 = 4, remainder is 0 > 4/2 = 2, remainder is 0 > 2/2 = 1, remainder is 0 > 1/2 = 0, remainder is 1 Read remainders from the bottom to top as 10000010 So, 130 of decimal is 10000010 in binary frac bits are 01100011100001000000000 so, 11.11 in single-precision format is 0 10000010 01100011100001000000000 Converting 01000001001100011100001000000000 to hexadecimal 0100 => 4 0001 => 1 0011 => 3 0001 => 1 1100 => C 0010 => 2 0000 => 0 0000 => 0 So, in hexadecimal 01000001001100011100001000000000 is 0x4131C200 Answer: 0x4131C200
convert the following decimal values to IEEE 754 single precision. when converting the fractional part to...
Convert each of the following 32 IEEE 754 single precision bit patterns to its corresponding decimal value (the bits are separated into groups of 4 to make interpretation easier). Show all of your work and include a few comments as to what you are doing at each step. 1100 0100 1011 1010 0100 1000 0000 0000 a. b. 0100 0101 1110 0010 0110 1101 0000 0000
Convert each of the following 32 IEEE 754 single precision bit patterns to its...
Convert the following decimal numbers to IEEE 754 single-precision format: 256 -2217.5
4) Converting to IEEE-754 Floating Point express in hex EE 380 Clf" Express the decimal value - 1.9375 ten as IEEE-754 Single Precision Floating Point, or else state “NOT POSSIBLE” if the value cannot be represented (e.g. underflow condition). No credit will be given if your answer is stated in any format besides hexadecimal or “NOT POSSIBLE”, accordingly. Note: Only the non-fractional quantity “1” is noted in Yellow Font, in accordance with Syllabus page 11.
1. (a) Convert the following decimal numbers into their EEE-754 single-precision (32-bit) representations. Give your answers in hexadecimal form. (12 marks) (1)-3.3125 () (11) 522240 6) Convert the following IEEE 754 single-precision numbers in hexadecimal into their decimal values accurate to 5 significant figures. (8 marks) (1) 0x800E0000 (1) Ox9FACE600
1 please
IEEE-754 Floating point conversions problems (assume 32 bit machine): 1. For IEEE 754 single-precision floating point, write the hexadecimal representation for the following decimal values: a. 27.1015625 b.-1 2. For IEEE 754 single-precision floating point, what is the decimal number, whose hexadecimal representation is the following? a. 4280 0000 b. 7FE4 0000 c. 0061 0000 3. For IEEE-754 single-precision floating point practice the following problem: Suppose X and Y are representing single precision numbers as follows: X 0100...
Convert the decimal 0.2 to hexadecimal representation using IEEE 754 single precision format
For IEEE 754 single precision floating point, what is the number, as written in binary scientific notation, whose hexadecimal representation is the following? Show your work B350 0000 (hex)
can you multiply the yellow number by 9 then solve
4) Converting to IEEE-754 Floating Point express in hex EEL 3801 UCE ten Express the decimal value - 1.9375 as IEEE-754 Single Precision Floating Point, or else state "NOT POSSIBLE" if the value cannot be represented (e.g. underflow condition). No credit will be given if your answer is stated in any format besides hexadecimal or "NOT POSSIBLE", accordingly. Note: Only the non-fractional quantity "1" is noted in Yellow Font, in...
2.Convert the following binary numbers to floating-point format using single-precision IEEE 754 format. Convert your answer to hexadecimal format. a) 11001.0101 b) -101.111101 c) -0.0101001
Write down the binary representation of the decimal number 126.5 assuming the IEEE 754 single precision format. (Show your steps)