Skip to content

bitor

general · scripts/general/bitor.m

: C = bitor (A, B)
: C = bitor (A, B, assumedtype)

Bit-wise OR of the integers in A and B.

When assumedtype is supplied, double inputs are interpreted as that integer class and the result is double; integer inputs may only pass their own class name.