Home | History | Annotate | Download | only in benchmarks

Lines Matching refs:BI_DB

44 var BI_DB;
151 BI_DB = dbits;
225 else if(sh+k > BI_DB) {
226 this_array[this.t-1] |= (x&((1<<(BI_DB-sh))-1))<<sh;
227 this_array[this.t++] = (x>>(BI_DB-sh));
232 if(sh >= BI_DB) sh -= BI_DB;
236 if(sh > 0) this_array[this.t-1] |= ((1<<(BI_DB-sh))-1)<<sh;
261 var p = BI_DB-(i*BI_DB)%k;
263 if(p < BI_DB && (d = this_array[i]>>p) > 0) { m = true; r = int2char(d); }
267 d |= this_array[--i]>>(p+=BI_DB-k);
271 if(p <= 0) { p += BI_DB; --i; }
315 return BI_DB*(this.t-1)+nbits(this_array[this.t-1]^(this.s&BI_DM));
342 var bs = n%BI_DB;
343 var cbs = BI_DB-bs;
345 var ds = Math.floor(n/BI_DB), c = (this.s<<bs)&BI_DM, i;
362 var ds = Math.floor(n/BI_DB);
364 var bs = n%BI_DB;
365 var cbs = BI_DB-bs;
386 c >>= BI_DB;
393 c >>= BI_DB;
402 c >>= BI_DB;
464 var nsh = BI_DB-nbits(pm_array[pm.t-1]); // normalize modulus
561 this.um = (1<<(BI_DB-15))-1;
688 return ((this_array[1]&((1<<(32-BI_DB))-1))<<BI_DB)|this_array[0];
704 function bnpChunkSize(r) { return Math.floor(Math.LN2*BI_DB/Math.log(r)); }
787 var p = BI_DB-(i*BI_DB)%8, d, k = 0;
789 if(p < BI_DB && (d = this_array[i]>>p) != (this.s&BI_DM)>>p)
790 r[k++] = d|(this.s<<(BI_DB-p));
794 d |= this_array[--i]>>(p+=BI_DB-8);
798 if(p <= 0) { p += BI_DB; --i; }
891 if(this_array[i] != 0) return i*BI_DB+lbit(this_array[i]);
892 if(this.s < 0) return this.t*BI_DB;
913 var j = Math.floor(n/BI_DB);
915 return((this_array[j]&(1<<(n%BI_DB)))!=0);
943 c >>= BI_DB;
950 c >>= BI_DB;
959 c >>= BI_DB;
1133 if(j > 0) w |= e_array[j-1]>>(BI_DB+i-k1);
1138 if((i -= n) < 0) { i += BI_DB; --j; }
1151 if(--i < 0) { i = BI_DB-1; --j; }