Advertisement
imk0tter
Jul 25th, 2023
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. X = (y * 2 - 1) * (2^z) solve for z and y given x
  3.  
  4. z = log2(x / y * 2 - 1)
  5. y = (X / (2 ^ z) + 1 / 2)
  6.  
  7. z = log2(x / (x / (2 ^ z) + 1 / 2) * 2 - 1)
  8. y = (x / (2 ^ z) + 1 / 2)
  9.  
  10. z = log2(x / (X / (2 ^ log2(x / (X / (2 ^ z) + 1 / 2) * 2 - 1)) + 1 / 2) * 2 - 1)
  11. z = log2(x / (X / (2 ^ log2(x / (X / (2 ^ log2(x / (X / (2 ^ z) + 1 / 2) * 2 - 1)) + 1 / 2) * 2 - 1)) + 1 / 2) * 2 - 1)
  12.  
  13.  
  14.  
  15. x = ((((y * 2 - 1) * (2^z)) * 2 - 1) * (2^e)) solve for z and y and e given x
  16.  
  17. z = log2((((X / (2^e) + 1) / 2) / (2^z) + 1) / (2 * ((((X / (2^e) + 1) / 2) / (2^z) + 1) / 2)))
  18.  
  19. y = (((X / (2^e) + 1) / 2) / (2^z) + 1) / 2
  20.  
  21. e = log2((((X / (2^e) + 1) / 2) / (2^z) + 1) / (2 * y))
  22.  
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement