| Index: src/math.js
|
| diff --git a/src/math.js b/src/math.js
|
| index f06249d2521fc8447b7eda8aab8b1b171c2b0cd8..860b62f63e50d771625a76b0c5d411b84097085d 100644
|
| --- a/src/math.js
|
| +++ b/src/math.js
|
| @@ -144,7 +144,7 @@ function MathPow(x, y) {
|
| // ECMA 262 - 15.8.2.14
|
| var rngstate; // Initialized to a Uint32Array during genesis.
|
| function MathRandom() {
|
| - var r0 = (MathImul(18273, rngstate[0] & 0xFFFF) + (rngstate[0] >>> 16)) | 0;
|
| + var r0 = (MathImul(18030, rngstate[0] & 0xFFFF) + (rngstate[0] >>> 16)) | 0;
|
| rngstate[0] = r0;
|
| var r1 = (MathImul(36969, rngstate[1] & 0xFFFF) + (rngstate[1] >>> 16)) | 0;
|
| rngstate[1] = r1;
|
| @@ -321,6 +321,8 @@ function SetUpMath() {
|
| %AddNamedProperty(global, "Math", $Math, DONT_ENUM);
|
| %FunctionSetInstanceClassName(MathConstructor, 'Math');
|
|
|
| + %AddNamedProperty($Math, symbolToStringTag, "Math", READ_ONLY | DONT_ENUM);
|
| +
|
| // Set up math constants.
|
| InstallConstants($Math, $Array(
|
| // ECMA-262, section 15.8.1.1.
|
|
|