-
Key: IDL43-41
-
Status: open
-
Source: Remedy IT ( Johnny Willemsen)
-
Summary:
Currently the spec says:
The << binary operator indicates that the value of the left operand shall be shifted left the number of bits specified by the right operand, with 0 fill for the vacated bits. The right operand shall be in the range 0 <= right operand < 64.•The >> binary operator indicates that the value of the left operand shall be shifted right the number of bits specified by the right operand, with 0 fill for the vacated bits. The right operand shall be in the range 0 <= right operand < 64
But this should be more restricted, the range should be dependent on the number of bits of the underlying type, when it is for example a 32bit long, the operand should be in the range of 0 <= 32
-
Reported: IDL 4.2 — Mon, 10 May 2021 10:21 GMT
-
Updated: Tue, 11 May 2021 13:54 GMT