Clears one bit to zero.
Class
Elemental function
Result Type and Attributes
Same as I.
Result Value
The result has the value of the sequence of bits of I, except that bit POS of I is set to zero.
The bits are numbered from 0 to BIT_SIZE(I)-1, from right to left.
Examples
IBCLR (14, 1) has the result 12.
If V has the value (/1, 2, 3, 4/), the value of IBCLR (POS = V, I = 31) is (/29, 27, 23, 15/).
See Integer Bit Model.
Specific Name | Argument Type | Result Type | Pass As Arg? |
---|---|---|---|
IBCLR (1) | any integer | same as argument | yes |
Notes: