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