const bigInt = require("big-integer"); function genValues(n, neg, bitsPerWord) { bitsPerWord = bitsPerWord || 32; const res = []; res.push(bigInt.zero); for (let i=0; i0) { res.push( bigInt.one.shiftLeft(bitsPerWord*i).minus(1)); } if (i