This commit is contained in:
Brooke Vibber 2023-01-07 20:11:52 -08:00
parent a34687ba25
commit f1adffd175

View file

@ -8,7 +8,7 @@ let inputRange = 4;
let shift = 4;
let base = 2 ** (bits - shift);
let reduction = 0;
let reduction = 4;
let roundOffset = (2 ** (reduction - 1)) + 1;
let entries = 2 ** (bits - reduction);
let bytes = Math.ceil(bits / 8) * entries;
@ -145,7 +145,7 @@ deltaCount = 0;
console.log('done');
console.log(`size of enloggen table: ${entries * 2} entries, ${bytes} bytes`);
console.log(`size of enloggen table: ${entries} entries, ${bytes} bytes`);
console.log(`size of empower table: ${entries * 2} entries, ${bytes * 2} bytes`);
let m = 0;