LongInteger ClassObjects of LongInteger class represent signed and unsigned
integers of the C type long long int.
valueThe value is the formatted representation of a signed long long int.
!= (long long int l)Return TRUE if the receiver is not equal to l.
= (long long int l)Set the value of the receiver to l.
== (long long int l)Return TRUE if the receiver is equal to l.
+ (long long int l)Add l to the the receiver.
++ (void)Implements both the C prefix and postfix increment operators for
LongInteger objects.
- (long long int l)Subtract l from the receiver.
- (void)When used as a prefix operator, negate the argument.
-- (void)The C decrement operator, both prefix and postfix, for
LongInteger objects.
% (long long int l)Return a LongInteger that is the modulus of the receiver and the
argument.
%= (int i)Perform a modulus of the receiver and its argument, and store the result in the receiver. Returns the receiver.
& (long long int l)Perform a bitwise AND of the receiver and the operand. The
Object class’s & operator overloads C’s unary
“address of” prefix operator. See Object.
&& (long long int l)Return TRUE if both the receiver and the operand evaluate to
TRUE.
& ( int i)Perform a bitwise AND of the receiver and the operand, and store the result in the receiver. Returns the receiver.
* (long long int l)Multiply the receiver by l.
/ (long long int l)Divide the receiver by l.
< (long long int l)Return TRUE if the receiver is less than the operand,
FALSE otherwise.
<= (long long int l)Return TRUE if the receiver is less than or equal to the
operand, FALSE otherwise.
<< (int i)Shift the receiver left by the number of bits in the operand, an
Integer.
> (long long int l)Return TRUE if the receiver is greater than the operand,
FALSE otherwise.
>= (long long int l)Return TRUE if the receiver is greater than or equal to the
operand, FALSE otherwise.
>> (int l)Shift the receiver right by the number of bits in the operand, an
Integer.
^ (long long int l)Perform a bitwise XOR of the receiver and the operand.
^= (int i)Perform a bitwise XOR of the receiver and the operand, and store the result in the receiver. Returns the receiver.
bitComp (void)Return a bitwise complement of the receiver.
invert (void)Return TRUE if the receiver evaluates to FALSE,
FALSE if the receiver evaluates to TRUE.
| (long long int l)Perform a bitwise OR of the receiver and the operand.
|= (int i)Perform a bitwise OR of the receiver and the operand, and store the result in the receiver. Returns the receiver.
| (long long int l)Return TRUE if either the receiver or the operand evaluate to
TRUE.
~ (void)When overloading C’s unary ‘~’ operator, is synonymous
with the bitComp method, above.