| Line 9: |
Line 9: |
| | ** Power | | ** Power |
| | % Reminder | | % Reminder |
| − | // Floor division (Reminder is removed) | + | // Floor division (Reminder is removed)</nowiki> |
| − | = Asignment</nowiki> | + | === Comparison === |
| | + | <nowiki> |
| | + | == Equal |
| | + | != Not equal |
| | + | > Greater |
| | + | >= Greater or equal |
| | + | < Smaller |
| | + | <= Smaller or equal |
| | + | <> Similar to !=</nowiki> |
| | + | === Assignment === |
| | + | <nowiki> |
| | + | = Simple assignment |
| | + | += Add and as |
| | + | -= Substract and assignment |
| | + | *= Multiply and assignment |
| | + | /= Divide and assignment |
| | + | %= Modulus and assignment |
| | + | **= Exponent and assignment |
| | + | //= Floor Divisionn and assignment</nowiki> |
| | + | |
| | + | === Bitwise operators === |
| | + | They perform operations on binary terms. a= 8 → 100; b= 9 → 101; a & b → 100 |
| | + | <nowiki> |
| | + | $ Binary AND |
| | + | | Binary OR |
| | + | ^ Binary XOR |
| | + | ~ Binary complement |
| | + | << Binary left shift |
| | + | >> Binary right shift</nowiki> |
| | + | |
| | + | === Logic === |
| | + | <nowiki> |
| | + | and |
| | + | or |
| | + | not</nowiki> |