o_BitShift

open override fun o_BitShift(    self: AvailObject,     shiftFactor: A_Number,     canDestroy: Boolean): A_Number

Shift the given infinity to the left by the specified shift factor (number of bits). The shift factor is a finite integer, and shifting left or right never changes the sign of a number, so we answer self.

Return

⌊self × 2^shiftFactor⌋

Parameters

self

The infinity to shift.

shiftFactor

How much to shift left (may be negative to indicate a right shift).

canDestroy

Whether it is permitted to alter the original object if it happens to be mutable.