Lines Matching refs:Integer
27 var Integer, Float, Fraction, Complex, Mod, Polynomial, PolyMod, RationalFunction, Series, Matrix; variable
30 global.Integer = global.BigInt;
95 if (!Integer.isInteger(b)) {
112 for(i = Integer.floorLog2(b) - 1; i >= 0; i--) {
139 r = Integer.pmod(a, d, n);
188 add_props(Integer, {
214 return Integer.tdiv(fact_rec(n - k + 1, n), fact_rec(1, k));
224 t = Integer.fdivrem(v, u);
243 a = Integer.invmod(a, m);
263 if (!Integer.isInteger(n))
285 if (!Integer.isInteger(n))
291 if (Integer.isPrime(n))
297 if (!Integer.isInteger(n))
316 if (Integer.isPrime(n)) {
328 n = Integer.tdiv(n, d);
337 add_props(Integer.prototype, {
383 if (!Integer.isInteger(a))
388 if (!Integer.isInteger(b))
392 d = Integer.gcd(a, b);
394 a = Integer.tdiv(a, d);
395 b = Integer.tdiv(b, d);
433 return a - Integer.ediv(a1.num * b1.den, a1.den * b1.num) * b;
649 n = Integer(Float.floor(u));
837 if (Integer.isInteger(m)) {
840 if (Integer.isInteger(a)) {
925 if (Integer.isInteger(m)) {
926 return Mod(Integer.invmod(a.res, m), m);
973 return !(Integer.isInteger(c) ||
1676 if (Integer.isInteger(b)) {
2387 var gcd = Integer.gcd;
2388 var fact = Integer.fact;
2389 var comb = Integer.comb;
2390 var pmod = Integer.pmod;
2391 var invmod = Integer.invmod;
2392 var factor = Integer.factor;
2393 var isprime = Integer.isPrime;
2394 var nextprime = Integer.nextPrime;
2433 if (Integer.isInteger(a)) {
2436 return Integer.tdiv(a.num, a.den);
2448 if (Integer.isInteger(a)) {
2451 return Integer.fdiv(a.num, a.den);
2459 if (Integer.isInteger(a)) {
2462 return Integer.cdiv(a.num, a.den);