ComputerCarsten

My random Sh*t

Articles in the C category

Bit-Shifting in C

i: ">>" on uint8_t ">>" on uint8_t ">>" on int8_t ">>" on int8_t
-12 00000000 00000000 00000000 11111111
-11 00000000 00000000 00000000 11111111
-10 00000000 00000000 00000000 11111111
-9 00000000 00000000 00000000 11111111
-8 00000000 00000000 00000000 11111111
-7 00000000 00000000 00000000 11111111
-6 00000000 00000000 00000000 11111111
-5 00000000 00000000 00000000 11111111
-4 …