convert -297.875 to single precision and double precision.
Please show all the steps(atleast 500 words)
1)
-297.875
Converting 297.875 to binary
Convert decimal part first, then the fractional
part
> First convert 297 to binary
Divide 297 successively by 2 until the quotient is
0
> 297/2 = 148, remainder is
1
> 148/2 = 74, remainder is
0
> 74/2 = 37, remainder is
0
> 37/2 = 18, remainder is
1
> 18/2 = 9, remainder is 0
> 9/2 = 4, remainder is 1
> 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
100101001
So, 297 of decimal is 100101001 in binary
> Now, Convert 0.87500000 to binary
> Multiply 0.87500000 with 2.
Since 1.75000000 is >= 1. then add 1 to
result
> Multiply 0.75000000 with 2.
Since 1.50000000 is >= 1. then add 1 to
result
> Multiply 0.50000000 with 2.
Since 1.00000000 is >= 1. then add 1 to
result
> This is equal to 1, so, stop
calculating
0.875 of decimal is .111 in binary
so, 297.875 in binary is 100101001.111
-297.875 in simple binary => 100101001.111
so, -297.875 in normal binary is 100101001.111 => 1.00101001111
* 2^8
single precision:
--------------------
sign bit is 1(-ve)
exponent bits are (127+8=135) => 10000111
Divide 135 successively by 2 until the quotient is
0
> 135/2 = 67, remainder is
1
> 67/2 = 33, remainder is
1
> 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
10000111
So, 135 of decimal is 10000111 in binary
frac/significant bits are 00101001111000000000000
so, -297.875 in single-precision format is 1 10000111
00101001111000000000000
in hexadecimal it is 0xC394F000
2)
-297.875
Converting 297.875 to binary
Convert decimal part first, then the fractional
part
> First convert 297 to binary
Divide 297 successively by 2 until the quotient is
0
> 297/2 = 148, remainder is
1
> 148/2 = 74, remainder is
0
> 74/2 = 37, remainder is
0
> 37/2 = 18, remainder is
1
> 18/2 = 9, remainder is 0
> 9/2 = 4, remainder is 1
> 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
100101001
So, 297 of decimal is 100101001 in binary
> Now, Convert 0.87500000 to binary
> Multiply 0.87500000 with 2.
Since 1.75000000 is >= 1. then add 1 to
result
> Multiply 0.75000000 with 2.
Since 1.50000000 is >= 1. then add 1 to
result
> Multiply 0.50000000 with 2.
Since 1.00000000 is >= 1. then add 1 to
result
> This is equal to 1, so, stop
calculating
0.875 of decimal is .111 in binary
so, 297.875 in binary is 100101001.111
-297.875 in simple binary => 100101001.111
so, -297.875 in normal binary is 100101001.111 => 1.00101001111
* 2^8
64-bit format:
--------------------
sign bit is 1(-ve)
exponent bits are (1023+8=1031) => 10000000111
Divide 1031 successively by 2 until the quotient is
0
> 1031/2 = 515, remainder is
1
> 515/2 = 257, remainder is
1
> 257/2 = 128, remainder is
1
> 128/2 = 64, remainder is
0
> 64/2 = 32, remainder is
0
> 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
10000000111
So, 1031 of decimal is 10000000111 in binary
frac/significant bits are
0010100111100000000000000000000000000000000000000000
so, -297.875 in 64-bit format is 1 10000000111
0010100111100000000000000000000000000000000000000000
in hexadecimal it is 0xC0729E0000000000
convert -297.875 to single precision and double precision. Please show all the steps(atleast 500 words)
convert 20.085 to IEEE-754 single precision and double precision both. Need a lot of explanation. (Atleast 1000 words)
convert -881/13 to IEEE-754 single precision and double precision both. Need a lot of explanation. (Atleast 1000 words)
convert 22/7 to IEEE-754 single precision and double precision both. Need a lot of explanation. (Atleast 1000 words)
Please convert -3.825 to a Hexadecimal using IEEE-754 single precision format. Please show all the steps in text format or don't answer it.
Convert decimal number 289.5625, to IEEE 754 single precision floating point. Please show all steps and explain what to do in each step.
Determine the single precision and double precision machine representation of -200.75 single: ________________________(16) Double: ________________________ (16) What is is the decimal number that corresponds to the following IEEE 32 bit floating point number? 1100 0001 0010 1000 0000 0000 0000 0000 would you mind showing me the steps how to solve this problem?
Convert the IEEE 754 single-precision floating-point number 8000000F16 to binary expressed in normalized scientific notation. Hint 8000000F16 is a denormalized number. Please show steps.
Please show steps
EXERCICE4 The following real numbers are given in single precision (ieee-754 floating point) format. Negate each of them. Single Precision FP Inverse (negated) value in single precision FP Ox3FCO0000 OxAFC00000 0x43806000 0xC3906000 0x41200000 0xF1200000 0x3F7F0000 EXERCICE 5 Express the following real numbers (single precision ieee-754 floating point) in decimal notation Single Precision FP Value in base 10 0x3FC00000 0xBFC00000 0x43806000 0xC3806000 0x41200000 0xC1200000 0x3F7F0000
Please show steps to result.
20. (Lecture 10) Find the IEEE754 single binary precision representation of 67.875. a. 42870000 b. 41870000 c. 4287D000 d. 4286C000
Convert the single-precision, IEED 754 floating point number 3C800000 into its decimal equivalent. Convert the single-precision, IEED 754 floating point number BFC0000000000000 into its decimal equivalent.