Set of functions which behave same as the
corresponding operators.
Functions
add(..)
Adds parameters togethers
Returns the result of binary arithmetic AND.
| Returns |
Result of binary AND. |
Compares parameters.
Compares parameters.
div(..)
Performs division: n1 / n2 / n2 ...
Performs division operation with parameters and
returns result of division and remainder.
| Returns |
List (divisionResult, remainder) |
Performs equality check.
Compares parameters.
| Returns |
true if a==b, false otherwise. |
Performs greater than or equal to check.
Performs greater than check.
Performs less than or equal to check.
Performs less than check.
mod(..)
Performs remainder: n1 % n2 % n2 ...
mul(..)
Multiplies parameters.
Performs non equality check.
Returns the result of logical negation.
| Returns |
Result of logical negation. |
Returns the result of binary arithmetic OR.
| Returns |
Result of binary OR. |
Shifts the parameter to left or right for given amount.
| Parameters |
amount -
Left shift if positive, right shift if negative.
|
| Returns |
Result of shift. |
sub(..)
Performs subtraction: n1 - n2 - n2 ...
Returns the result of logical xor.
| Returns |
Result of logical xor. |