Lines Matching refs:math

535         math = Math,
536 mmax = math.max,
537 mmin = math.min,
538 abs = math.abs,
539 pow = math.pow,
540 PI = math.PI,
553 round = math.round,
827 return (180 + math.atan2(-y, -x) * 180 / PI + 360) % 360;
898 var r = math.random() * 16 | 0,
1612 alpha = (90 - math.atan2(mx - nx, my - ny) * 180 / PI);
1729 sum += Cvalues[i] * math.sqrt(comb);
2224 var X = x * math.cos(rad) - y * math.sin(rad),
2225 Y = x * math.sin(rad) + y * math.cos(rad);
2235 var cos = math.cos(PI / 180 * angle),
2236 sin = math.sin(PI / 180 * angle),
2241 h = math.sqrt(h);
2248math.sqrt(abs((rx2 * ry2 - rx2 * y * y - ry2 * x * x) / (rx2 * y * y + ry2 * x * x))),
2251 f1 = math.asin(((y1 - cy) / ry).toFixed(9)),
2252 f2 = math.asin(((y2 - cy) / ry).toFixed(9));
2276 x2 = cx + rx * math.cos(f2);
2277 y2 = cy + ry * math.sin(f2);
2281 var c1 = math.cos(f1),
2282 s1 = math.sin(f1),
2283 c2 = math.cos(f2),
2284 s2 = math.sin(f2),
2285 t = math.tan(df / 4),
2316 t1 = (-b + math.sqrt(b * b - 4 * a * c)) / 2 / a,
2317 t2 = (-b - math.sqrt(b * b - 4 * a * c)) / 2 / a,
2336 t1 = (-b + math.sqrt(b * b - 4 * a * c)) / 2 / a;
2337 t2 = (-b - math.sqrt(b * b - 4 * a * c)) / 2 / a;
2928 var cos = +math.cos(a).toFixed(9),
2929 sin = +math.sin(a).toFixed(9);
2979 var mag = math.sqrt(norm(a));
3005 out.scalex = math.sqrt(norm(row[0]));
3011 out.scaley = math.sqrt(norm(row[1]));
3019 out.rotate = R.deg(math.acos(cos));
3024 out.rotate = R.deg(math.asin(sin));
4403 Q = math.sqrt(.1734 + q * q),
4424 return pow(2, -10 * n) * math.sin((n - .075) * (2 * PI) / .3) + 1;
4742 a.times = math.floor(mmax(times, 0)) || 1;
5772 math = Math,
5773 mmax = math.max,
5774 abs = math.abs,
5775 pow = math.pow,
5826 (fy = math.sqrt(.25 - pow(fx - .5, 2)) * dir + .5) &&
5839 var vector = [0, 0, math.cos(R.rad(angle)), math.sin(R.rad(angle))],
7142 math = Math,
7143 round = math.round,
7144 mmax = math.max,
7145 mmin = math.min,
7146 abs = math.abs,
7513 …pow(fx - .5, 2) + pow(fy - .5, 2) > .25 && (fy = math.sqrt(.25 - pow(fx - .5, 2)) * ((fy > .5) * 2…