$isbit » History » Version 4
Per Amundsen, 02/23/2023 01:45 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$isbit(A,N)* |
||
4 | |||
5 | Returns 1 if the Nth bit in number A is turned on. |
||
6 | |||
7 | 3 | Per Amundsen | _Supports "Big Integers":https://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic_ |
8 | |||
9 | 1 | Per Amundsen | *Parameters* |
10 | |||
11 | 4 | Per Amundsen | table(ktable). |
12 | |*Parameter*|*Description*| |
||
13 | | A | The value to check. | |
||
14 | | N | The bit to check. | |