bitwiseOr

fun A_Number.bitwiseOr(anInteger: A_Number, canDestroy: Boolean): A_Number

Compute the boolean or operation for the corresponding bits of the receiver and anInteger. Both values are signed 2's complement integers.

For example, if ...11001₂ (negative seven) and ...01010₂ (positive ten) are provided, the result will be ...11011 (negative five).

Return

The bitwise or of the receiver and anInteger.

Parameters

anInteger

The integer to combine with the receiver using the bitwise or operation.

canDestroy

Whether the receiver or anInteger can be recycled or destroyed if it happens to be mutable.