mirror of
				https://github.com/tc39/test262.git
				synced 2025-11-03 21:24:30 +01:00 
			
		
		
		
	In order to satisfy the project's formatting rules, license information was inserted into a number of files where it had been mistakenly omitted by the original contributors [1]. In many cases, the license information did not accurately describe the contributor or the time of contribution. Update the information according to the information provided by the contributors at the time each file was authored: - atomicsHelper.js - a72ee6d91275aa6524e84a9b7070103411ef2689 - detachArrayBuffer.js - 70c7375be83137015da2c5d6d29a3c40ad3cb5b1 - nans.js - b17ffc029850e3c32d51c68e0281ab7b1a4c193b - nativeFunctionMatcher.js - 6b7cbb50350e478a543da40d02492aa8f45a792d - proxyTrapsHelper.js d530c87b41584d47d95bb78dccf592c9c5c8f7b1 - regexpUtils.js - 44b40e083ec851cd8448d5fe4755bdfc9f0dc14c - tcoHelper.js - 4dc81d37886f49512eb60dafe13b794af5ffeb29 [1] 4ea2931f169d4a4b5a9a4a7c731cc92bf7b3e13c
		
			
				
	
	
		
			22 lines
		
	
	
		
			592 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			592 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// Copyright (C) 2016 the V8 project authors.  All rights reserved.
 | 
						|
// This code is governed by the BSD license found in the LICENSE file.
 | 
						|
/*---
 | 
						|
description: |
 | 
						|
    A collection of NaN values produced from expressions that have been observed
 | 
						|
    to create distinct bit representations on various platforms. These provide a
 | 
						|
    weak basis for assertions regarding the consistent canonicalization of NaN
 | 
						|
    values in Array buffers.
 | 
						|
---*/
 | 
						|
 | 
						|
var NaNs = [
 | 
						|
  NaN,
 | 
						|
  Number.NaN,
 | 
						|
  NaN * 0,
 | 
						|
  0/0,
 | 
						|
  Infinity/Infinity,
 | 
						|
  -(0/0),
 | 
						|
  Math.pow(-1, 0.5),
 | 
						|
  -Math.pow(-1, 0.5),
 | 
						|
  Number("Not-a-Number"),
 | 
						|
];
 |