$isbit » History » Version 3
Per Amundsen, 09/09/2020 10:03 AM
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 | 2 | Per Amundsen | A - The value to check. |
12 | 1 | Per Amundsen | N - The bit to check. |
13 | |||
14 |