// Copyright 2015 the V8 project authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.varstdlib={Math:Math};varf=(functionModule(stdlib){"use asm";varclz32=stdlib.Math.clz32;functionf(a){a=a>>>0;returnclz32(a)|0;}returnf;})(stdlib);assertEquals(32,f(0));assertEquals(32,f(NaN));assertEquals(32,f(undefined));for(vari=0;i<32;++i){assertEquals(i,f((-1)>>>i));}for(vari=-2147483648;i<2147483648;i+=3999773){