AND operation (&) = true when each operand is true.
OR operation (|) = true when at least one operand is true
XOR operation (~) = when two operand is different, it's true
Bitwise Compliment = 보수연산. changes the absolute value to opposite.
Left Shift = move bites as much as operand to left
ex) a = 0011 1100
a<<2 = 1111
Right Shift = to right
ex) a>>2 = 1111
Unsiged Right Shift (>>>) = unsigned shift operator
fill zero in leftmost bit and do shift
From A6 notification
//im not sure for unsigned shift operator but do not wanna work on it now ^^ will come back when i want
Chao!!
OR operation (|) = true when at least one operand is true
XOR operation (~) = when two operand is different, it's true
Bitwise Compliment = 보수연산. changes the absolute value to opposite.
Left Shift = move bites as much as operand to left
ex) a = 0011 1100
a<<2 = 1111
Right Shift = to right
ex) a>>2 = 1111
Unsiged Right Shift (>>>) = unsigned shift operator
fill zero in leftmost bit and do shift
From A6 notification
//im not sure for unsigned shift operator but do not wanna work on it now ^^ will come back when i want
Chao!!
댓글
댓글 쓰기