{"ScriptPreparationCode":"window.clamp = (val, min, max) =\u003E val \u003C min ? min : val \u003E max ? max : val;\r\nwindow.bitClamp = (x, min, max) =\u003E {\r\n x = x - ((x - max) \u0026 ((max - x) \u003E\u003E 31));\r\n return x - ((x - min) \u0026 ((x - min) \u003E\u003E 31));\r\n}","TestCases":[{"Name":"clamp","Code":"clamp(Math.random() * 100000000000000000, 52, 896987565547);","IsDeferred":false},{"Name":"bitClamp","Code":"bitClamp(Math.random() * 100000000000000000, 52, 896987565547);","IsDeferred":false}]}