Home | History | Annotate | Download | only in v8-v5

Lines Matching refs:isEven

628   if(e < 256 || m.isEven()) z = new Classic(m); else z = new Montgomery(m);
646 BigInteger.prototype.isEven = bnpIsEven;
757 if(this.isEven()) this.dAddOffset(1,0); // force odd
1101 else if(m.isEven())
1190 var ac = m.isEven();
1191 if((this.isEven() && ac) || m.signum() == 0) return BigInteger.ZERO;
1195 while(u.isEven()) {
1198 if(!a.isEven() || !b.isEven()) { a.addTo(this,a); b.subTo(m,b); }
1201 else if(!b.isEven()) b.subTo(m,b);
1204 while(v.isEven()) {
1207 if(!c.isEvenisEven()) { c.addTo(this,c); d.subTo(m,d); }
1210 else if(!d.isEven()) d.subTo(m,d);
1242 if(x.isEven()) return false;