Блог пользователя srlabib

Автор srlabib, история, 3 года назад, По-английски

Hello! I really love to play lockout matches on discord servers. So we need more friends to play together. We have a discord server to play matches. If you guys join it would be fun to play together.. I think that It's also a very efficient way to practice cp with fun.

There is a scope for every type of discussion! We can be really good friends too. It's great to have friends with same passion!

Invitation link

Полный текст и комментарии »

  • Проголосовать: нравится
  • +13
  • Проголосовать: не нравится

Автор srlabib, 3 года назад, По-английски

Hi All ! Recently I and turzo_sawroop have done some observations on bitwise operations and found these equations and properties that you may find helpful. I want to share them with you in a nutshell. Here is a shortlist of them:

Some properties of bitwise operations:

  • a|b = a⊕b + a&b
  • a⊕(a&b) = (a|b)⊕b
  • b⊕(a&b) = (a|b)⊕a
  • (a&b)⊕(a|b) = a⊕b

Addition:

  • a+b = a|b + a&b
  • a+b = a⊕b + 2(a&b)

Subtraction:

  • a-b = (a⊕(a&b))-((a|b)⊕a)
  • a-b = ((a|b)⊕b)-((a|b)⊕a)
  • a-b = (a⊕(a&b))-(b⊕(a&b))
  • a-b = ((a|b)⊕b)-(b⊕(a&b))

Hope you like it. Please let me know if you find any issues. All of these properties are elaborated in this blog here. You can also check it out to learn more!

Полный текст и комментарии »

  • Проголосовать: нравится
  • +50
  • Проголосовать: не нравится