bit manipulation: sign of integer