2 ms·It's still wrong for signed integers if a/2 rounds towards zero. You need a>>1 and b>>1.by bonzini 4y agoIt's still wrong for signed integers if a/2 rounds towards zero. You need a>>1 and b>>1.