1 Bitwise operator
Bitwise operators perform a bit wise operation on two operands.
They take each bit in one operand and perform the operation with the corresponding bit in the other operand.
If one operand is shorter than the other, it will be extended on the left side with zeroes to match the length of the longer operand.
2 Reduction operator
Reduction operators are unary.
They perform a bit-wise operation on a single operand to produce a single bit result.
Reduction unary NAND and NOR operators operate as AND and OR respectively, but with their outputs negated.
时间: 2025-01-13 10:02:11