2020年4月11日 星期六

List of Operators

List of Operators

源自於http://only-vlsi.blogspot.com/2008/01/list-of-operators.html#eo
Logical Operators

SymbolDescription#Operators
!Logical negationOne
||Logical ORTwo
&&Logical ANDTwo

Relational Operators

SymbolDescription#Operators
>Greater thanTwo
<Less thanTwo
>=Greater than or equal toTwo
<=Less than or equal toTwo

Equality Operators

SymbolDescription#Operators
==EqualityTwo
!=InequalityTwo
===Case equalityTwo
!==Case inequalityTwo

Arithmetic Operators

SymbolDescription#Operators
+AddTwo
-SubstractTwo
*MultiplyTwo
/DivideTwo
**PowerTwo
%ModulusTwo

Bitwise Operators

SymbolDescription#Operators
~Bitwise negationOne
&Bitwise ANDTwo
|Bitwise ORTwo
^Bitwise XORTwo
^~ or ~^Bitwise XNORTwo

Reduction Operators

SymbolDescription#Operators
&Reduction ANDOne
~&Reduction NANDOne
|Reduction OROne
~|Reduction NOROne
^Reduction XOROne
^~ or ~^Reduction XNOROne

Shift Operators

SymbolDescription#Operators
>>Right shiftTwo
<<Left shiftTwo
>>>Arithmetic right shiftTwo
<<<Arithmetic left shiftTwo

Conditional Operators

SymbolDescription#Operators
?:ConditionalTwo

Replication Operators

SymbolDescription#Operators
{ { } }Replication> One

Concatenation Operators

SymbolDescription#Operators
{ }Concatenation> One

Operator Precedence

沒有留言:

張貼留言

WOKWI ESP32 LED Control , Node-Red MQTT SQLITE  

WOKWI ESP32 LED Control ,  Node-Red  MQTT SQLITE   const char broker[] = "test.mosquitto.org" ; //const char broker[] = "br...