Hacker News new | past | comments | ask | show | jobs | submit
It was implementation defined for shifting negative numbers, but now the standard specifies twos-complement for this and all related IB
While standard requires twos-complement we did not make all shift cases defined so far.