Currently, in most architectures, numbers are stored in 2 additions, see Wikipedia .
So your result is correct. The bit sign is set, and all remaining zeros (because the 2-complement) makes this the most negative number for this data type, see here .
2-Add-on Thinking
-1 is represented by 1111 1111 1111 1111 1111 1111 1111 1111
31 left shift gives
1000 0000 0000 0000 0000 0000 0000 0000 which represents -2.147.483.648
Elyasin
source share