Nodo Operar (bit a bit)¶
The Bit Math node performs bitwise operations on 32-bit integer values. It is useful for low-level data manipulation and logic operations.
Entradas¶
- A
The first integer input. Used by all operations.
- A
The second integer input. Only used by operations that require two inputs (And, Or, Exclusive Or).
- Desplazamiento
The number of bits to shift or rotate. Used only for Shift and Rotate operations.
Propiedades¶
- Operación
La operación bit a bit a ser aplicada:
- Y:
Returns a value where the bits of A and B are both set.
- O:
Returns a value where the bits of either A or B are set.
- O exclusivo:
Returns a value where only one of A or B has the bit set (XOR).
- Negar:
Inverts the bits of A. Equivalent to -A - 1 in decimal.
- Desplazamiento:
Shifts the bits of A by the amount specified in Shift. Positive shifts are to the left; negative to the right.
- Rotar:
Rotates the bits of A by the amount specified in Shift. Positive rotates left; negative rotates right.
Salida¶
- Valor
The result of the bitwise operation.