Index: test/mjsunit/number-tostring.js |
=================================================================== |
--- test/mjsunit/number-tostring.js (revision 4304) |
+++ test/mjsunit/number-tostring.js (working copy) |
@@ -122,6 +122,8 @@ |
assertEquals("100000000000000000000000000000001", (Math.pow(2,32) + 1).toString(2)); |
assertEquals("100000000000080", (0x100000000000081).toString(16)); |
assertEquals("1000000000000100", (-(-'0x1000000000000081')).toString(16)); |
+assertEquals("1000000000000000", (-(-'0x1000000000000080')).toString(16)); |
+assertEquals("1000000000000000", (-(-'0x100000000000007F')).toString(16)); |
assertEquals("100000000000000000000000000000000000000000000000010000000", (0x100000000000081).toString(2)); |
assertEquals("-11111111111111111111111111111111", (-(Math.pow(2,32)-1)).toString(2)); |
assertEquals("-5yc1z", (-10000007).toString(36)); |