Lines Matching defs:subTo
239 if(mi) BigInteger.ZERO.subTo(this,this);
281 function bnNegate() { var r = nbi(); BigInteger.ZERO.subTo(this,r); return r; }
427 if(this.s != a.s) BigInteger.ZERO.subTo(r,r);
480 r.subTo(t,r);
483 t.subTo(y,y); // "negative" y so we can replace sub with am later
490 r.subTo(t,r);
491 while(r_array[i] < --qd) r.subTo(t,r);
496 if(ts != ms) BigInteger.ZERO.subTo(q,q);
501 if(ts < 0) BigInteger.ZERO.subTo(r,r);
508 if(this.s < 0 && r.compareTo(BigInteger.ZERO) > 0) a.subTo(r,r);
570 if(x.s < 0 && r.compareTo(BigInteger.ZERO) > 0) this.m.subTo(r,r);
599 if(x.compareTo(this.m) >= 0) x.subTo(this.m,x);
649 BigInteger.prototype.subTo = bnpSubTo;
753 if(mi) BigInteger.ZERO.subTo(this,this);
768 if(this.bitLength() > a) this.subTo(BigInteger.ONE.shiftLeft(a-1),this);
974 function bnSubtract(a) { var r = nbi(); this.subTo(a,r); return r; }
1081 x.subTo(this.r2,x);
1082 while(x.compareTo(this.m) >= 0) x.subTo(this.m,x);
1173 x.subTo(y,x);
1177 y.subTo(x,y);
1206 if(!a.isEven() || !b.isEven()) { a.addTo(this,a); b.subTo
1209 else if(!b.isEven()) b.subTo(m,b);
1215 if(!c.isEven() || !d.isEven()) { c.addTo(this,c); d.subTo(m,d); }
1218 else if(!d.isEven()) d.subTo(m,d);
1222 u.subTo(v,u);
1223 if(ac) a.subTo(c,a);
1224 b.subTo(d,b);
1227 v.subTo(u,v);
1228 if(ac) c.subTo(a,c);
1229 d.subTo(b,d);