shell.js (651B)
1 // GENERATED, DO NOT EDIT 2 // file: nans.js 3 // Copyright (C) 2016 the V8 project authors. All rights reserved. 4 // This code is governed by the BSD license found in the LICENSE file. 5 /*--- 6 description: | 7 A collection of NaN values produced from expressions that have been observed 8 to create distinct bit representations on various platforms. These provide a 9 weak basis for assertions regarding the consistent canonicalization of NaN 10 values in Array buffers. 11 defines: [NaNs] 12 ---*/ 13 14 var NaNs = [ 15 NaN, 16 Number.NaN, 17 NaN * 0, 18 0/0, 19 Infinity/Infinity, 20 -(0/0), 21 Math.pow(-1, 0.5), 22 -Math.pow(-1, 0.5), 23 Number("Not-a-Number"), 24 ];