Lines Matching refs:subTo
231 if(mi) BigInteger.ZERO.subTo(this,this);
273 function bnNegate() { var r = nbi(); BigInteger.ZERO.subTo(this,r); return r; }
419 if(this.s != a.s) BigInteger.ZERO.subTo(r,r);
472 r.subTo(t,r);
475 t.subTo(y,y); // "negative" y so we can replace sub with am later
482 r.subTo(t,r);
483 while(r_array[i] < --qd) r.subTo(t,r);
488 if(ts != ms) BigInteger.ZERO.subTo(q,q);
493 if(ts < 0) BigInteger.ZERO.subTo(r,r);
500 if(this.s < 0 && r.compareTo(BigInteger.ZERO) > 0) a.subTo(r,r);
562 if(x.s < 0 && r.compareTo(BigInteger.ZERO) > 0) this.m.subTo(r,r);
591 if(x.compareTo(this.m) >= 0) x.subTo(this.m,x);
641 BigInteger.prototype.subTo = bnpSubTo;
745 if(mi) BigInteger.ZERO.subTo(this,this);
760 if(this.bitLength() > a) this.subTo(BigInteger.ONE.shiftLeft(a-1),this);
966 function bnSubtract(a) { var r = nbi(); this.subTo(a,r); return r; }
1073 x.subTo(this.r2,x);
1074 while(x.compareTo(this.m) >= 0) x.subTo(this.m,x);
1165 x.subTo(y,x);
1169 y.subTo(x,y);
1198 if(!a.isEven() || !b.isEven()) { a.addTo(this,a); b.subTo(m,b); }
1201 else if(!b.isEven()) b.subTo(m,b);
1207 if(!c.isEven() || !d.isEven()) { c.addTo(this,c); d.subTo(m,d); }
1210 else if(!d.isEven()) d.subTo(m,d);
1214 u.subTo(v,u);
1215 if(ac) a.subTo(c,a);
1216 b.subTo(d,b);
1219 v.subTo(u,v);
1220 if(ac) c.subTo(a,c);
1221 d.subTo(b,d);