Forum Discussion
sstrell
Super Contributor
2 years agoSo why is $signed still needed if in is already signed in this code? I don't see the need for $signed at all.
- FvM2 years ago
Super Contributor
There's no need for $signed(), neither in must be signed. Operation of arithmetic shift is solely determined by result signedness.- sstrell2 years ago
Super Contributor
That's what I was thinking originally. Just the fact that >>> is used would preserve the sign bit by shifting in 1's if it's 1.