{"ScriptPreparationCode":"const abs = Math.abs, min = Math.min, max = Math.max, PI = Math.PI, PI2 = PI / 2;\r\n var fatan2 = (y, x) =\u003E {\r\n const ax = abs(x);\r\n const ay = abs(y);\r\n const a = min(ax, ay) / max(x, y);\r\n const s = a * a;\r\n let r = ((-0.0464964749 * s \u002B 0.15931422) * s - 0.327622764) * s * a \u002B a;\r\n if (ay \u003E ax) r = PI2 - r;\r\n if (x \u003C 0) r = PI - r;\r\n if (y \u003C 0) r = -r;\r\n return r;\r\n };\r\n var atan2 = Math.atan2;\r\nvar random = Math.random;","TestCases":[{"Name":"atan2","Code":"var k = atan2(random());","IsDeferred":false},{"Name":"fast atan2","Code":"var k = fatan2(random());","IsDeferred":false}]}