{"ScriptPreparationCode":"var N = 1000000;\r\nvar x = new Float32Array(N);\r\nvar y = new Float32Array(N);\r\nvar theta = new Float32Array(N);\r\n\r\nfor (var i = 0; i \u003C N; \u002B\u002Bi) {\r\n\tx[i] = 100* Math.random();\r\n\ty[i] = 100* Math.random();\r\n}\r\nfor (var i = 0; i \u003C N; \u002B\u002Bi) {\r\n\ttheta[i] = 2 * Math.PI * Math.random();\r\n}","TestCases":[{"Name":"cosid","Code":"for (var i = 0; i \u003C N; \u002B\u002Bi)\r\n{\r\n costheta = Math.cos(theta[i]);\r\n sintheta = Math.sin(theta[i]);\r\n} ","IsDeferred":false},{"Name":"trigid","Code":"for (var i = 0; i \u003C N; \u002B\u002Bi)\r\n{\r\n costheta = Math.cos(theta[i]);\r\n sintheta = Math.sqrt(Math.max(0, 1 - costheta * costheta));\r\n} ","IsDeferred":false}]}