Function bor()

← Back to Module core



Module core → bor()

Description

Perform bitwise OR operation for the every bit of the given number x and y

bor(x, y, bit_width = 32, unsigned = false)


Parameters


Return Value


Usage Example

a = bor(5, 9, 8, true)   ' a = 13 -> Where 00000101 OR 00001001 is 00001101 (13 in unsigned 8-bit)


Availability

This function is available on Dinfio version 3.1.06 or later