This commit is contained in:
Brooke Vibber 2023-01-07 22:02:26 -08:00
commit a47836a39a
3 changed files with 180 additions and 35 deletions

View file

@ -8,7 +8,8 @@ let inputRange = 4;
let shift = 4;
let base = 2 ** (bits - shift);
let reduction = 4;
//let reduction = 4;
let reduction = 0;
let roundOffset = (2 ** (reduction - 1)) + 1;
let entries = 2 ** (bits - reduction);
let bytes = Math.ceil(bits / 8) * entries;