Lines Matching refs:y

2263       var y; // grow vertical - only one col to worry about
2277 for (y = cell.row - 1; vGrow(y, 'top'); y--) {
2281 for (y = cell.row + 1; vGrow(y, 'bottom'); y++) {
2289 for (y = range.top; y <= range.bottom; y++) {
2290 var c = matrix.findCellAt(sheetName, y, xx);
8684 yWindow: model.y || 0,
12578 y: '0'
31118 function FFTM(x, y) {
31120 this.y = y;
31264 FFTM.prototype.mulp = function mulp(x, y, out) {
31265 var N = 2 * this.guessLen13b(x.length, y.length);
31279 this.convert13b(y.words, y.length, nrws, N);
31293 out.negative = x.negative ^ y.negative;
31294 out.length = x.length + y.length;
31918 var y = p.clone();
31934 while (x.isEven() && y.isEven()) {
31936 y.iushrn(1);
31940 var yp = y.clone();
31962 for (var j = 0, jm = 1; (y.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1) {
31967 y.iushrn(j);
31980 if (x.cmp(y) >= 0) {
31981 x.isub(y);
31985 y.isub(x);
31994 gcd: y.iushln(g)
34804 function FFTM(x, y) {
34806 this.y = y;
34950 FFTM.prototype.mulp = function mulp(x, y, out) {
34951 var N = 2 * this.guessLen13b(x.length, y.length);
34965 this.convert13b(y.words, y.length, nrws, N);
34979 out.negative = x.negative ^ y.negative;
34980 out.length = x.length + y.length;
35618 var y = p.clone();
35634 while (x.isEven() && y.isEven()) {
35636 y.iushrn(1);
35640 var yp = y.clone();
35662 for (var j = 0, jm = 1; (y.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1) {
35667 y.iushrn(j);
35680 if (x.cmp(y) >= 0) {
35681 x.isub(y);
35685 y.isub(x);
35694 gcd: y.iushln(g)
38632 var y = pub.data.pub_key;
38640 …var v = g.toRed(montp).redPow(new BN(hash).mul(w).mod(q)).fromRed().mul(y.toRed(montp).redPow(r.mu…
39077 var y = b.length;
39079 for (var i = 0, len = Math.min(x, y); i < len; ++i) {
39082 y = b[i];
39087 if (x < y) return -1;
39088 if (y < x) return 1;
39406 var y = end - start;
39407 var len = Math.min(x, y);
39414 y = targetCopy[i];
39419 if (x < y) return -1;
39420 if (y < x) return 1;
44052 y: o,
44072 y = "en",
44075 M[y] = l;
44082 if (!t) return y;
44087 return !n && r && (y = r), r || !n && y;
44161 y = this.$W,
44175 S = (y < v ? y + 7 : y) - v;
44204 var y = this.clone().set(f, 1);
44205 y.$d[$](l), y.init(), this.$d = y.set(f, Math.min(this.$D, y.daysInMonth())).$d;
44292 y = this - $,
44294 … M, c[a] = M / 3, c[s] = (y - l) / 6048e5, c[i] = (y - l) / 864e5, c[r] = y / 36e5, c[n] = y / 6e4…
44326 }, v.en = M[y], v.Ls = M, v;
44462 y = 0;
44464 i && !s || (y = s > 0 ? s - 1 : m.getMonth());
44469 …l ? new Date(Date.UTC(p, y, v, D, M, g, Y + 60 * l.offset * 1e3)) : r ? new Date(Date.UTC(p, y, v,…
45801 if (points[a].y.cmp(points[b].y) === 0) {
45804 } else if (points[a].y.cmp(points[b].y.redNeg()) === 0) {
46043 EdwardsCurve.prototype.jpoint = function jpoint(x, y, z, t) {
46044 return this.point(x, y, z, t);
46054 var y = y2.redSqrt();
46055 if (y.redSqr().redSub(y2).cmp(this.zero) !== 0) throw new Error('invalid point');
46056 var isOdd = y.fromRed().isOdd();
46057 if (odd && !isOdd || !odd && isOdd) y = y.redNeg();
46058 return this.point(x, y);
46061 EdwardsCurve.prototype.pointFromY = function pointFromY(y, odd) {
46062 y = new BN(y, 16);
46063 if (!y.red) y = y.toRed(this.red); // x^2 = (y^2 - c^2) / (c^2 d y^2 - a)
46065 var y2 = y.redSqr();
46071 if (odd) throw new Error('invalid point');else return this.point(this.zero, y);
46077 return this.point(x, y);
46085 var y2 = point.y.redSqr();
46091 function Point(curve, x, y, z, t) {
46094 if (x === null && y === null && z === null) {
46096 this.y = this.curve.one;
46102 this.y = new BN(y, 16);
46106 if (!this.y.red) this.y = this.y.toRed(this.curve.red);
46112 this.t = this.x.redMul(this.y);
46124 EdwardsCurve.prototype.point = function point(x, y, z, t) {
46125 return new Point(this, x, y, z, t);
46134 …return '<EC Point x: ' + this.x.fromRed().toString(16, 2) + ' y: ' + this.y.fromRed().toString(16,…
46139 …return this.x.cmpn(0) === 0 && (this.y.cmp(this.z) === 0 || this.zOne && this.y.cmp(this.curve.c) …
46149 var b = this.y.redSqr(); // C = 2 * Z1^2
46157 var e = this.x.redAdd(this.y).redSqr().redISub(a).redISub(b); // G = D + B
46182 var b = this.x.redAdd(this.y).redSqr(); // C = X1^2
46186 var d = this.y.redSqr();
46247 var a = this.y.redSub(this.x).redMul(p.y.redSub(p.x)); // B = (Y1 + X1) * (Y2 + X2)
46249 var b = this.y.redAdd(this.x).redMul(p.y.redAdd(p.x)); // C = T1 * k * T2
46285 var d = this.y.redMul(p.y); // E = d * C * D
46293 var tmp = this.x.redAdd(this.y).redMul(p.x.redAdd(p.y)).redISub(c).redISub(d);
46336 this.y = this.y.redMul(zi);
46344 return this.curve.point(this.x.redNeg(), this.y, this.z, this.t && this.t.redNeg());
46354 return this.y.fromRed();
46415 var y = rhs.redSqrt();
46416 return y.redSqr().cmp(rhs) === 0;
46690 var y = y2.sub(q.mul(y1));
46707 y1 = y;
46763 var y = y2.redSqrt();
46764 …if (y.redSqr().redSub(y2).cmp(this.zero) !== 0) throw new Error('invalid point'); // XXX Is there …
46767 var isOdd = y.fromRed().isOdd();
46768 if (odd && !isOdd || !odd && isOdd) y = y.redNeg();
46769 return this.point(x, y);
46775 var y = point.y;
46778 return y.redSqr().redISub(rhs).cmpn(0) === 0;
46819 function Point(curve, x, y, isRed) {
46822 if (x === null && y === null) {
46824 this.y = null;
46828 this.y = new BN(y, 16); // Force redgomery representation when loading from JSON
46832 this.y.forceRed(this.curve.red);
46836 if (!this.y.red) this.y = this.y.toRed(this.curve.red);
46843 ShortCurve.prototype.point = function point(x, y, isRed) {
46844 return new Point(this, x, y, isRed);
46855 var beta = this.curve.point(this.x.redMul(this.curve.endo.beta), this.y);
46861 return curve.point(p.x.redMul(curve.endo.beta), p.y);
46882 if (!this.precomputed) return [this.x, this.y];
46883 return [this.x, this.y, this.precomputed && {
46921 …return '<EC Point x: ' + this.x.fromRed().toString(16, 2) + ' y: ' + this.y.fromRed().toString(16,…
46939 var c = this.y.redSub(p.y);
46942 var ny = c.redMul(this.x.redSub(nx)).redISub(this.y);
46949 var ys1 = this.y.redAdd(this.y);
46956 var ny = c.redMul(this.x.redSub(nx)).redISub(this.y);
46965 return this.y.fromRed();
46986 …return this === p || this.inf === p.inf && (this.inf || this.x.cmp(p.x) === 0 && this.y.cmp(p.y) =…
46991 var res = this.curve.point(this.x, this.y.redNeg());
47017 var res = this.curve.jpoint(this.x, this.y, this.curve.one);
47021 function JPoint(curve, x, y, z) {
47024 if (x === null && y === null && z === null) {
47026 this.y = this.curve.one;
47030 this.y = new BN(y, 16);
47035 if (!this.y.red) this.y = this.y.toRed(this.curve.red);
47042 ShortCurve.prototype.jpoint = function jpoint(x, y, z) {
47043 return new JPoint(this, x, y, z);
47051 var ay = this.y.redMul(zinv2).redMul(zinv);
47056 return this.curve.jpoint(this.x, this.y.redNeg(), this.z);
47069 var s1 = this.y.redMul(pz2.redMul(p.z));
47070 var s2 = p.y.redMul(z2.redMul(this.z));
47096 var s1 = this.y;
47097 var s2 = p.y.redMul(z2).redMul(this.z);
47134 var jy = this.y;
47177 var yy = this.y.redSqr(); // YYYY = YY^2
47196 nz = this.y.redAdd(this.y);
47204 var b = this.y.redSqr(); // C = B^2
47223 nz = this.y.redMul(this.z);
47242 var yy = this.y.redSqr(); // YYYY = YY^2
47260 nz = this.y.redAdd(this.y);
47267 var gamma = this.y.redSqr(); // beta = X1 * gamma
47279 …nz = this.y.redAdd(this.z).redSqr().redISub(gamma).redISub(delta); // Y3 = alpha * (4 * beta - X3)…
47295 var jy = this.y;
47322 var yy = this.y.redSqr(); // ZZ = Z1^2
47353 var ny = this.y.redMul(u.redMul(t.redISub(u)).redISub(e.redMul(ee)));
47377 return this.y.redMul(pz3).redISub(p.y.redMul(z3)).cmpn(0) === 0;
47397 …return '<EC JPoint x: ' + this.x.toString(16, 2) + ' y: ' + this.y.toString(16, 2) + ' z: ' + this…
47844 if (key.x || key.y) {
47851 assert(key.x && key.y, 'Need both x and y coordinate');
47854 this.pub = this.ec.curve.point(key.x, key.y);
48171 var y = utils.intFromLE(normed);
48172 return this.curve.pointFromY(y, xIsOdd);
49567 function f(j, x, y, z) {
49568 … x ^ y ^ z;else if (j <= 31) return x & y | ~x & z;else if (j <= 47) return (x | ~y) ^ z;else if (…
50043 function ft_1(s, x, y, z) {
50044 if (s === 0) return ch32(x, y, z);
50045 if (s === 1 || s === 3) return p32(x, y, z);
50046 if (s === 2) return maj32(x, y, z);
50051 function ch32(x, y, z) {
50052 return x & y ^ ~x & z;
50057 function maj32(x, y, z) {
50058 return x & y ^ x & z ^ y & z;
50063 function p32(x, y, z) {
50064 return x ^ y ^ z;
78526 function ch(x, y, z) {
78527 return z ^ x & (y ^ z);
78530 function maj(x, y, z) {
78531 return x & y | z & (x | y);
78707 function Ch(x, y, z) {
78708 return z ^ x & (y ^ z);
78711 function maj(x, y, z) {
78712 return x & y | z & (x | y);
82711 function safeAdd(x, y) {
82712 var lsw = (x & 0xffff) + (y & 0xffff);
82713 var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
82855 function f(s, x, y, z) {
82858 return x & y ^ ~x & z;
82861 return x ^ y ^ z;
82864 return x & y ^ x & z ^ y & z;
82867 return x ^ y ^ z;