$or » History » Version 3
Per Amundsen, 09/09/2020 10:03 AM
1 | 2 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | 1 | Per Amundsen | *$or(A,B)* |
4 | |||
5 | Returns A binary "OR":https://en.wikipedia.org/wiki/Bitwise_operation#OR B. |
||
6 | |||
7 | 3 | Per Amundsen | _Supports "Big Integers":https://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic_ |
8 | |||
9 | 1 | Per Amundsen | *Parameters* |
10 | |||
11 | A - The A binary to "OR":https://en.wikipedia.org/wiki/Bitwise_operation#OR against. |
||
12 | B - The B binary to "OR":https://en.wikipedia.org/wiki/Bitwise_operation#OR. |
||
13 | |||
14 | *Example* |
||
15 | |||
16 | <pre> |
||
17 | : Or '5' against '3'. |
||
18 | //echo -ag $or(5,3) |
||
19 | </pre> |