Example #1
0
def not_u32(x):
    return ~u32(x)
Example #2
0
def xor_u32(x, y):
    return u32(x) ^ u32(y)
Example #3
0
def or_u32(x, y):
    return u32(x) | u32(y)
Example #4
0
def and_u32(x, y):
    return u32(x) & u32(y)
Example #5
0
def rshift_u32(x, c):
    return u32(x) >> u8(c)
Example #6
0
def lshift_u32(x, c):
    return u32(x) << u8(c)