the piece of code comes from linux kernel source code. What exactly does the $~3 mean? I konw $3 means an immediate number, but what is it with a leading symbol ~ ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Bitwise complement. So anding with ~3 means clearing the two lowest bits.