Advertisement
Guest User

101011010000101011110100000000001111111111111111111111111111

a guest
May 13th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. b:
  2. Auf einen Exponenten bringen, also:
  3.  
  4. 2^127 * 11011.0_2 und 2^127 * 1.000011_2
  5.  
  6. also: (-1) * 11011.0 + 1.000011
  7. Zweierkomplement vom ersten Summanden: 00100 + 1 = 00101
  8.  
  9.       1.000011
  10. + 00101.0
  11.      1
  12. --------------
  13.     110.000011
  14. => 110.000011 * 2^127
  15.  
  16. Multiplikation:
  17.  
  18.  
  19. 11011 * 1000011
  20. ---------------
  21.     11011
  22.          11011
  23.           11011
  24.       111111100
  25. ---------------
  26.     11100010001
  27.  
  28. ans * 2^{-6} = 11100.010001 * (-1) * 2^{127} (?)
  29.  
  30.  
  31. c:
  32. auf einen Exponenten bringen:
  33. 2^{128} * 1.1010011_2 und 2^{128} * 101010.11_2
  34.  
  35. Addition:
  36.        1.1010011
  37. + 101010.11
  38.      111
  39. ----------------
  40.   c
  41.  
  42. => 101100.0110011 * 2^{128} * (-1)
  43.  
  44. Multiplikation:
  45. 11010011 * 10101011
  46. -------------------
  47.     11010011
  48.       11010011
  49.         11010011
  50.           11010011
  51.            11010011
  52.    11111   111111
  53. -------------------
  54.    1000110011110001
  55.  
  56. ans * 2^{-9} = 1000110.011110001
  57. => 1000110.011110001 * 2^{128}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement