{"ScriptPreparationCode":"var wrap_ternary = function(x) {\r\n return x \u003C 0 ? x \u002B 1 : x \u003E 1 ? x - 1 : x;\r\n}\r\nvar wrap_magic = function(x) {\r\n return x - Math.floor(x * 0.99999994);\r\n}\r\n\r\nconst floor = Math.floor;\r\nvar wrap_magic_scope = function(x) {\r\n return x - floor(x * 0.99999994);\r\n}","TestCases":[{"Name":"Ternary","Code":"wrap_ternary(-1.00);\r\nwrap_ternary(-0.75);\r\nwrap_ternary(-0.50);\r\nwrap_ternary(-0.25);\r\nwrap_ternary( 0.00);\r\nwrap_ternary( 0.25);\r\nwrap_ternary( 0.50);\r\nwrap_ternary( 0.75);\r\nwrap_ternary( 1.00);\r\nwrap_ternary( 1.25);\r\nwrap_ternary( 1.50);\r\nwrap_ternary( 1.75);\r\nwrap_ternary( 2.00);","IsDeferred":false},{"Name":"Magic","Code":"wrap_magic(-1.00);\r\nwrap_magic(-0.75);\r\nwrap_magic(-0.50);\r\nwrap_magic(-0.25);\r\nwrap_magic( 0.00);\r\nwrap_magic( 0.25);\r\nwrap_magic( 0.50);\r\nwrap_magic( 0.75);\r\nwrap_magic( 1.00);\r\nwrap_magic( 1.25);\r\nwrap_magic( 1.50);\r\nwrap_magic( 1.75);\r\nwrap_magic( 2.00);","IsDeferred":false},{"Name":"Magic Scoped","Code":"wrap_magic_scope(-1.00);\r\nwrap_magic_scope(-0.75);\r\nwrap_magic_scope(-0.50);\r\nwrap_magic_scope(-0.25);\r\nwrap_magic_scope( 0.00);\r\nwrap_magic_scope( 0.25);\r\nwrap_magic_scope( 0.50);\r\nwrap_magic_scope( 0.75);\r\nwrap_magic_scope( 1.00);\r\nwrap_magic_scope( 1.25);\r\nwrap_magic_scope( 1.50);\r\nwrap_magic_scope( 1.75);\r\nwrap_magic_scope( 2.00);","IsDeferred":false}]}