Project

General

Profile

$or » History » Version 4

Per Amundsen, 02/23/2023 06:40 PM

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 4 Per Amundsen
table(ktable).
12
|*Parameter*|*Description*|
13
| A | The A binary to "OR":https://en.wikipedia.org/wiki/Bitwise_operation#OR against. |
14
| B | The B binary to "OR":https://en.wikipedia.org/wiki/Bitwise_operation#OR. |
15 1 Per Amundsen
16
*Example*
17
18
<pre>
19
: Or '5' against '3'.
20
//echo -ag $or(5,3)
21
</pre>