// Copyright 2017 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.functionModule(stdlib,foreign,heap){"use asm";varMEM64=newstdlib.Float64Array(heap);functionfoo(i){i=i|0;MEM64[032]=+(i>>>7)/2.;return+MEM64[0];}return{foo:foo};}varfoo=Module(this,{},newArrayBuffer(""?this:this)).foo;assertEquals(NaN,foo(1));