integer, integer
Source: /avail/Avail/Foundation/Bootstrap/Fallible Primitives
Categories: Primitives, Numbers, Integers, Mathematics, Bits
Shift baseInteger to the right by shiftFactor bits. If baseInteger is negative then treat it as a left shift of the corresponding positive amount.
Position | Name | Type | Description | |
---|---|---|---|---|
Parameters | ||||
1 | baseInteger | integer | An integer to shift. | |
2 | shiftFactor | integer | How many bits to shift right (or left if negative). | |
Returns | (-∞..∞) | ⎣_>>_ ÷ 2baseInteger⎦ | Raises | |
too-large-to-represent exception |