REI Systems Interview Question

Write a function to divide a number by two without using the division operator

Interview Answers

Anonymous

Oct 10, 2019

x = x >> 2

Anonymous

Oct 10, 2019

x = x shr 2;

Anonymous

Aug 24, 2015

x(.5)=y

1