View Single Post
Old 27 October 2019, 22:15   #2
thomas
Registered User
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 5,898
No, these are bit-wise operations, not boolean.

x &= ~y
clears every bit in x that is set in y

x |= y
sets every bit in x that is set in y.
thomas is offline  
 
Page generated in 0.04041 seconds with 11 queries