{"ScriptPreparationCode":"var abs = Math.abs\r\nvar x = -0.00034254146579137945;\r\nvar cycle_counter = 1000000;","TestCases":[{"Name":"Math.abs","Code":"for(i=0; i\u003Ccycle_counter; i\u002B\u002B){\r\n var result = Math.abs(x);\r\n}","IsDeferred":false},{"Name":"abs","Code":"for(i=0; i\u003Ccycle_counter; i\u002B\u002B){\r\n var result = abs(x);\r\n}","IsDeferred":false},{"Name":"Custom1","Code":"for(i=0; i\u003Ccycle_counter; i\u002B\u002B){\r\n var negative = x \u003C 0.0 ? 1 : 0;\r\n var result = x - x * 2.0 * negative;\r\n} ","IsDeferred":false},{"Name":"Compare","Code":"for(i=0; i\u003Ccycle_counter; i\u002B\u002B){\r\n var result = x \u003C 0 ? -x : x\r\n} ","IsDeferred":false},{"Name":"Bitshift","Code":"for(i=0; i\u003Ccycle_counter; i\u002B\u002B){\r\n var result = (x ^ (x \u003E\u003E 31)) - (x \u003E\u003E 31)\r\n} ","IsDeferred":false}]}