| Index: test/mjsunit/math-pow.js
|
| diff --git a/test/mjsunit/math-pow.js b/test/mjsunit/math-pow.js
|
| index 535588dbd1f3d5c5cad090576c304bde42243e79..174065a70c560dc1bb50898667a5657038517049 100644
|
| --- a/test/mjsunit/math-pow.js
|
| +++ b/test/mjsunit/math-pow.js
|
| @@ -140,6 +140,9 @@ function test() {
|
| assertEquals(NaN, Math.pow(-16, 0.5));
|
| assertEquals(0.25, Math.pow(16, -0.5));
|
| assertEquals(NaN, Math.pow(-16, -0.5));
|
| +
|
| + // Test detecting and converting integer value as double.
|
| + assertEquals(8, Math.pow(2, Math.sqrt(9)));
|
|
|
| // Tests from Mozilla 15.8.2.13.
|
| assertEquals(2, Math.pow.length);
|
|
|