Advertisement
Guest User

Untitled

a guest
Dec 5th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. # keep the overflow!
  2. # | hi (t2) | | lo (t1) |
  3. # |_________________| |__________________|
  4. # 18 - O | 14 - I 4-I| 14 - P | 13 - E
  5. # ----------------------------- <-- this is what we want to keep
  6. # We've kept I and P, but since we're shifting right 13 bits, we need to get those bits out of hi
  7. # | hi (t2) | | lo (t1) |
  8. # |_________________| |____________ ______|
  9. # 14 - Z | 18 - O 18 - I | 14 - P
  10. # --------------------------- <-- this is what we want to keep
  11. # Z - zeros
  12. # O - overflow
  13. # I - integer
  14. # P - original precision
  15. # E - extra precision
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement