Lines Matching refs:bits
58 var hat = module.exports = function (bits, base) {
60 if (bits === undefined) bits = 128;
61 if (bits <= 0) return '0';
63 var digits = Math.log(Math.pow(2, bits)) / Math.log(base);
65 digits = Math.log(Math.pow(2, bits / i)) / Math.log(base) * i;
84 if (parsed !== Infinity && parsed >= Math.pow(2, bits)) {
85 return hat(bits, base)
90 hat.rack = function (bits, base, expandBy) { argument
95 if (expandBy) bits += expandBy;
99 var id = hat(bits, base);
116 fn.bits = bits || 128;