Skip to content Skip to sidebar Skip to footer
Showing posts with the label Bit Manipulation

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

How To Read Off 1 Flag Bit And Get Integer At Same Time

Say I have an 8-bit number with a flag at either side: 0101011 (decimal 43) 0101011 (decimal 43) … Read more How To Read Off 1 Flag Bit And Get Integer At Same Time

Why Does Or 0 Round Numbers In Javascript?

I'm under the impression that the Number type in Javascript stores any number, integer or float… Read more Why Does Or 0 Round Numbers In Javascript?

Replicating Javascript Bitwise Operation In Python

I'm trying to replicate a simple bitwise Javascript operation in Python. [Javascript] > 0xA8… Read more Replicating Javascript Bitwise Operation In Python