Calcolatore Binario — Formula
Binary Arithmetic
Bitwise Operations
Example: 42 AND 15
Bitwise operations work on individual bits of the binary representation.
Esempio Risolto
Binary operations on 42 and 15.
- 42 + 15 = 57
- 42 - 15 = 27
- 42 AND 15: 101010 AND 001111 = 001010 = 10
- 42 OR 15: 101010 OR 001111 = 101111 = 47
- 42 XOR 15: 101010 XOR 001111 = 100101 = 37