Tag Archives: interviewing

SHR vs. SAR

It came up in an interview today when SAR (shift arithmetic right) is used instead of SHR (shift and rotate right) the simple rule (on gcc at least and probably cl) if it’s a signed it will use SAR and … Continue reading

Posted in interviewing | Tagged , , , | Leave a comment