davyzhu
Advanced Member level 1
matlab shift
Hi all,
How >>(right shift) and <<(left shift) 2'complement number
(both positive and negative integer).
Is x>>2 equal to floor(x/4)?
And is x<<2 equal to x*4?
Best regards,
Davy
Hi all,
How >>(right shift) and <<(left shift) 2'complement number
(both positive and negative integer).
Is x>>2 equal to floor(x/4)?
And is x<<2 equal to x*4?
Best regards,
Davy