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