Lines Matching defs:am
27 // am: Compute w_j += (x*this_i), propagate carries,
74 BigInteger.prototype.am = am2;
78 BigInteger.prototype.am = am1;
82 BigInteger.prototype.am = am3;
331 for(i = 0; i < y.t; ++i) r[i+x.t] = x.am(0,y[i],r,i,0,x.t);
343 var c = x.am(i,x[i],r,2*i,0,1);
344 if((r[i+x.t]+=x.am(i+1,2*x[i],r,2*i+1,c,x.t-i-1)) >= x.DV) {
349 if(r.t > 0) r[r.t-1] += x.am(i,x[i],r,2*i,0,1);
382 t.subTo(y,y); // "negative" y so we can replace sub with am later
387 if((r[i]+=y.am(0,qd,r,j,0,ys)) < qd) { // Try it out
482 while(x.t <= this.mt2) // pad x so am has enough room later
488 // use am to combine the multiply-shift-add into one call
490 x[j] += this.m.am(0,u0,x,i,0,this.m.t);
875 this[this.t] = this.am(0,n-1,this,0,0,this.t);
914 for(j = r.t-this.t; i < j; ++i) r[i+this.t] = this.am(0,a[i],r,i,0,this.t);
915 for(j = Math.min(a.t,n); i < j; ++i) this.am(0,a[i],r,i,0,n-i);
927 r[this.t+i-n] = this.am(n-i,a[i],r,0,0,this.t+i-n);