3 ms·
you could as well provide an explicit mask to help (how far does the sign extend) python f.e a 'bin(-5 & 0b1111)' gives '0b1011' which is
by signa11 10y ago
you could as well provide an explicit mask to help (how far does the sign extend) python f.e a
'bin(-5 & 0b1111)' gives
'0b1011'
which is what you want