79383558

Date: 2025-01-24 07:34:53
Score: 1
Natty:
Report link

The most efficient formula is to use bitwise and operation:

overflowed=value & 0xFF #for unsigned
overflowed=((value + 128)&255)-128 #for signed
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user3603546