Show the IEEE 754 binary representation for the following fl
Show the IEEE 754 binary representation for the following floating-point numbers in single and double precision. Give your results in hexadecimal format for binary and single precision. State so if there is overflow or underflow. Show all work.
1) 20ten
2) -5/6ten
3) 0.2ten
4) 63.25ten
Solution
Solution(only First two):
20ten: 0100 0001 1010 0000 0000 0000 0000 0000 = (41A00000)x
-5/6ten: 1011 1111 0101 0101 0101 0101 0101 0101 = (BF555555)x
Explanation:-
see this- https://www.youtube.com/watch?v=yh2m7BSzRRo
