Skip to content Skip to sidebar Skip to footer
Showing posts with the label Bitwise Operators

Javascript & Php Xor Equivalent

I have a javascript code: var c = 267414715; var d = c ^ ('0x81BE16CD'); Result is -190745… Read more Javascript & Php Xor Equivalent

Algorith Problem Decode Hex To Set Output

I got an algorithm that I need to solve. Unfortunately, I can't even find a clue about a soluti… Read more Algorith Problem Decode Hex To Set Output

What Does 'x << ~y' Represent In Javascript?

What does 'x Solution 1: x << -n is equal to x << (32 - n) ~3 == -4 so 5 <<… Read more What Does 'x << ~y' Represent In Javascript?