Yes and no, it is is "implied" in the way these numbers are interpreted, two's complement:

https://en.wikipedia...wo's_complement

Try this:

calc 0x7FFFFFFF

echo %@retval%

calc 0x7FFFFFFF+1

echo %@retval%

calc 0x7FFFFFFF+1

calc %@retval%-1

calc 0x7FFFFFFF+2

calc %@retval%

calc 0xFFFFFFFF

calc %@retval%

calc 0xFFFFFFFF+1

calc %@retval%

calc 0xFFFFFFFF+42

calc %@retval%

the rightmost 8 characters (4 bytes) in the hex representation remain the same, they are only "interpreted" differently in decimal and of course they "wrap around" at the 32 bit limit, so the &0xFFFFFFFF does the trick.

Wonko