Index: test/mjsunit/math-pow.js |
diff --git a/test/mjsunit/math-pow.js b/test/mjsunit/math-pow.js |
index abc99bebcd98a9937ab24751b0eb60a08b52c5ad..036d825b27aaa9bf4f70b6381295ea2a5e1c9dbe 100644 |
--- a/test/mjsunit/math-pow.js |
+++ b/test/mjsunit/math-pow.js |
@@ -135,6 +135,11 @@ function test() { |
assertEquals(+Infinity, Math.pow(-0, -0.6)); |
assertEquals(-Infinity, Math.pow(-0, -1)); |
assertEquals(-Infinity, Math.pow(-0, -10000000001)); |
+ |
+ assertEquals(4, Math.pow(16, 0.5)); |
+ assertEquals(NaN, Math.pow(-16, 0.5)); |
+ assertEquals(0.25, Math.pow(16, -0.5)); |
+ assertEquals(NaN, Math.pow(-16, -0.5)); |
// Tests from Sputnik S8.5_A13_T1. |
assertTrue( |