Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ezeio2:expref:operators [2019-06-15 00:56] – andreh | ezeio2:expref:operators [2021-06-08 16:35] (current) – andreh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Expressions | + | ===== Operators and Constants |
==== Operators and constants ==== | ==== Operators and constants ==== | ||
Line 11: | Line 11: | ||
| / | Division | Divides a number with another | '' | | / | Division | Divides a number with another | '' | ||
| %%^%% | Exponent | Raises a number to a power | '' | | %%^%% | Exponent | Raises a number to a power | '' | ||
- | | % | Modulus | Divides a number with another and return the reminder | + | | % | Modulus | Remainder of division |
| & | Binary AND | Binary AND | '' | | & | Binary AND | Binary AND | '' | ||
| %%|%% | Binary OR | Binary OR | '' | | %%|%% | Binary OR | Binary OR | '' | ||
Line 21: | Line 21: | ||
| %%<=%% | Less than or equal | Logical compare | '' | | %%<=%% | Less than or equal | Logical compare | '' | ||
| == | Equal to | Logical compare | '' | | == | Equal to | Logical compare | '' | ||
- | | && | Logical AND | Logical AND | '' | + | | && | Logical AND | Logical AND | '' |
- | | %%||%% | Logical OR | Logical OR | '' | + | | %%||%% | Logical OR | Logical OR | '' |
+ | | ! | Logical NOT | Logical invert | '' | ||
+ | | !! | Make boolean | Forces result to be boolean | '' | ||
| E | 10th power | Raise to 10th power | '' | | E | 10th power | Raise to 10th power | '' | ||
- | | PI | Pi | Constant Pi | '' | + | | PI | π | Constant Pi | '' |
| E | e | Natural Logarithm | '' | | E | e | Natural Logarithm | '' | ||
+ | | ? : | Conditional | (C)?(X):(Y) If C is true then X, else Y | '' |