You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function bitReverse(num){
var result = 0;
for (var i = 0; i < 8; i++) {
result = result * 2 + (num % 2);
num = Math.floor(num / 2);
}
return result;
}
var bitReverseLookup = function() {
var lookup=[];
for(var n=0; n<256; n++) {
lookup[n] = bitReverse(n);
}
return lookup;
}();
The text was updated successfully, but these errors were encountered:
Something along the lines of:
The text was updated successfully, but these errors were encountered: