OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 var rngstate; // Initialized to a Uint32Array during genesis. | 5 var rngstate; // Initialized to a Uint32Array during genesis. |
6 | 6 |
7 (function(global, utils) { | 7 (function(global, utils) { |
8 "use strict"; | 8 "use strict"; |
9 | 9 |
10 %CheckIsBootstrapping(); | 10 %CheckIsBootstrapping(); |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 utils.Export(function(to) { | 357 utils.Export(function(to) { |
358 to.MathAbs = MathAbs; | 358 to.MathAbs = MathAbs; |
359 to.MathExp = MathExp; | 359 to.MathExp = MathExp; |
360 to.MathFloor = MathFloorJS; | 360 to.MathFloor = MathFloorJS; |
361 to.IntRandom = MathRandomRaw; | 361 to.IntRandom = MathRandomRaw; |
362 to.MathMax = MathMax; | 362 to.MathMax = MathMax; |
363 to.MathMin = MathMin; | 363 to.MathMin = MathMin; |
364 }); | 364 }); |
365 | 365 |
366 }) | 366 }) |
OLD | NEW |