3.2.1.4 System.integer
Implements: see System_object
Represents an integer value.
Supported operators:
+- Add two integer values together.
-- Subtract two integer values.
*- Multiply two integer values.
/- Divide two integer values.
%- Return the remainder (modulus) of dividing two integer values.
<<- Return the left integer left-shifted by the given number of bits.
>>- Return the left integer right-shifted by the given number of bits.
and- Return the bitwise AND of the two integer values.
or- Return the bitwise OR of the two integer values.
xor- Return the bitwise XOR of the two integer values.
not- Return the bitwise NOT of the given integer.
<- Return true if the left integer number is less than the right number.
<=- Return true if the left integer number is less than or equal to the right number.
==- Tests two integer values for equality.
>=- Return true if the left integer number is greater than or equal to the right number.
>- Return true if the left integer number is greater than the right number.
!=- Tests two integer values for inequality.
unary +- Return positive version of given integer number.
unary -- Invert sign of given integer number.
Supported methods:
str()- Returns a string representation of the object (overridden; see System_object).
int()- Returns an integer representation of the object (overridden; see System_object).
float()- Returns a floating-point representation of the object (overridden; see System_object).
bool()- Returns a Boolean representation of the object (overridden; see System_object).