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

沒有留言:

張貼留言

2024_09 作業3 以Node-Red 為主

 2024_09 作業3  (以Node-Red 為主  Arduino 可能需要配合修改 ) Arduino 可能需要修改的部分 1)mqtt broker  2) 主題Topic (發行 接收) 3) WIFI ssid , password const char br...