Next: , Previous: , Up: LargeInteger   [Index]


1.98.3 LargeInteger: bit operations

bitAnd: aNumber

Answer the receiver ANDed with aNumber

bitAt: aNumber

Answer the aNumber-th bit in the receiver, where the LSB is 1

bitInvert

Answer the receiver’s 1’s complement

bitOr: aNumber

Answer the receiver ORed with aNumber

bitShift: aNumber

Answer the receiver shifted by aNumber places

bitXor: aNumber

Answer the receiver XORed with aNumber

lowBit

Return the index of the lowest order 1 bit of the receiver.