byte, sbyte, word, sword, dword, sdword, qword, sqword = lambda v: correct(v,
    8, False), lambda v: correct(v, 8, True), lambda v: correct(v, 16, False
    ), lambda v: correct(v, 16, True), lambda v: correct(v, 32, False
    ), lambda v: correct(v, 32, True), lambda v: correct(v, 64, False
    ), lambda v: correct(v, 64, True)
Simulating integer overflow in Python