Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- b:
- Auf einen Exponenten bringen, also:
- 2^127 * 11011.0_2 und 2^127 * 1.000011_2
- also: (-1) * 11011.0 + 1.000011
- Zweierkomplement vom ersten Summanden: 00100 + 1 = 00101
- 1.000011
- + 00101.0
- 1
- --------------
- 110.000011
- => 110.000011 * 2^127
- Multiplikation:
- 11011 * 1000011
- ---------------
- 11011
- 11011
- 11011
- 111111100
- ---------------
- 11100010001
- ans * 2^{-6} = 11100.010001 * (-1) * 2^{127} (?)
- c:
- auf einen Exponenten bringen:
- 2^{128} * 1.1010011_2 und 2^{128} * 101010.11_2
- Addition:
- 1.1010011
- + 101010.11
- 111
- ----------------
- c
- => 101100.0110011 * 2^{128} * (-1)
- Multiplikation:
- 11010011 * 10101011
- -------------------
- 11010011
- 11010011
- 11010011
- 11010011
- 11010011
- 11111 111111
- -------------------
- 1000110011110001
- ans * 2^{-9} = 1000110.011110001
- => 1000110.011110001 * 2^{128}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement