bit.or (arity 2)ΒΆ
dst |= src
dst,src are bits.
SignatureΒΆ
def or dst, src @ end { ... }
Defined in bit/logics.fj β lines 77β81 (view on GitHub).
ComplexityΒΆ
Time:
2@+2Space:
2@+2
See the complexity glossary for what @, w, dw, dbit, n mean.
SourceΒΆ
Click to view the macro body
def or dst, src @ end {
.if0 src, end
.one dst
end:
}
Depends onΒΆ
Used byΒΆ
Example usesΒΆ
bit.add1inbit/math.fj
β Previous: bit.xor_zero/3
Next: bit.or/3 β