Operators: Difference between revisions
From Sierra Wiki
Jump to navigationJump to search
sierraw>Andrew Branscom Created page with "===Arithmetic Operators=== Use the arithmetic operators to perform mathematical computations. * + (addition) * - (subtraction) * * (multiplication) * / (division) * % (modul..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[Category:SCI Pages]] | |||
[[Category:SCI Pages to be Edited]] | |||
<div align="center"><span style="font-size: 22pt">SCI Operators</span><br />''By [[]]''</div> | |||
<br /> | |||
==<br /> Introduction == | |||
<blockquote> | |||
<!-- Place Introduction info here --> | |||
</blockquote> | |||
===Arithmetic Operators=== | ===Arithmetic Operators=== | ||
| Line 39: | Line 51: | ||
* >=u (unsigned greater than or equal to) | * >=u (unsigned greater than or equal to) | ||
==<br /> References == | |||
<references /> | |||
==<br /> Related Links == | |||
* | |||
| | ||
[[Category:Operators]] | [[Category:Operators]] | ||
[[Category:SCI Operators]] | |||
Latest revision as of 16:47, 29 April 2025
SCI Operators
By [[]]
By [[]]
Introduction
Arithmetic Operators
Use the arithmetic operators to perform mathematical computations.
- + (addition)
- - (subtraction)
- * (multiplication)
- / (division)
- % (modulus operator)
- ++(increment)
- -- (decrement)
Bitwise Operators
Use the bitwise operators to modify the individual bits rather than the number.
- & (bitwise AND)
- | (bitwise inclusive OR)
- ^ (bitwise exclusive OR)
- << (bitwise shift right)
- >> (bitwise shift left)
- bnot (inverts an integer's bits)
- not (inverts TRUE/FALSE expressions)
- neg (negates integers)
Relational Operators
Use the arithmetic operators to perform mathematical computations.
- == (equal to)
- <> (not equal to)
- < (less than)
- <u (unsigned less than)
- <= (less than or equal to)
- <=u (unsigned less than or equal to)
- > (greater than)
- >u (unsigned greater than)
- >= (greater than or equal to)
- >=u (unsigned greater than or equal to)
References
Related Links