One of the most basic uses of computers is to perform mathematical operations, and as a computer language, Java also provides a rich set of operators to manipulate variables. We can divide the operators into the following groups:
Arithmetic
Assignment operatorsThe PHP assignment operator is used to write values to variables. The base assignment operator in PHP is "=".This means that the right-hand copy expression sets the value for the left-hand operand._________________________________
Logical AND logical OR logical is not a Boolean worthwhile operation, it belongs to the discrete mathematics category.bitwise AND, bitwise OR, bitwise is not the operation of the computer bit, belongs to the computer bits operation category.Logic
In this article, let's take a look at the objective-c bitwise operator . There are various operators in the objective-c language to handle the special positioning in numbers, as shown in the following table:
Symbol
Operation
Language bitwise operators: With, OR, XOR, reverse, move left, and rightA bitwise operation is a binary-based operation. In system software, it is often necessary to deal with bits problems. The C language provides 6 bit manipulation operators.
Bitwise operatorsC provides six bitwise operators. These operators may only allow integer operands, namely char, short, Int, and long, regardless of signed or unsigned.& By-bit and| Bitwise OR^ Bitwise OR> Right shift~ Inverse (unary
Reprinted and amended, original connection: http://www.cnblogs.com/911/archive/2008/05/20/1203477.htmlA bitwise operation is a binary-based operation. In system software, it is often necessary to deal with bits problems.the C language provides 6 bit
in C #, you can perform a bitwise logical operation on an integer operand. The meaning of the bitwise logical operation is that each bit of the operand is taken sequentially, and the logical operation of each bit is the result of each bit of the
Bitwise operations are operations that are performed in binary order. In system software, it is often necessary to deal with bits problems. The C language provides 6 bit operator operators. These operators can only be used for integer operands, that
C operator
An operator is a symbol that tells the compiler to perform a specific mathematical or logical operation. The C language has a rich operator built-in and provides the following types of operators:
Arithmetic operators
Relational
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.