|
Compares two expressions bit by bit and returns 1 for a position bit if one or both compared postitions are 1. Returns 0 for that position bit if both compared positions are 0. The following list shows all possible combinations:
두개의 식을 검사하여
둘 중에 하나라도 1
이거나 전부 1 일 때 1 을
반환합니다. 두개 전부 0
이라면 0 을 반환합니다.
1 | 0 // Evaluates 1 because the first is 1 0 | 1 // Evaluates 1 because the second is 1 1 | 1 // Evaluates 1 because both are 1 0 | 0 // Evaluates 0 because both are 0
|