js/src/jit-test/tests/basic/mathRoundBig.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:f70aff8b6687
1 /*
2 * Any copyright is dedicated to the Public Domain.
3 * http://creativecommons.org/licenses/publicdomain/
4 */
5
6 assertEq(Math.round(9007199254740991), 9007199254740991);
7 assertEq(Math.round(-19007199254740990), -19007199254740990);
8
9 assertEq(Math.round("9007199254740991"), 9007199254740991);
10 assertEq(Math.round("-19007199254740990"), -19007199254740990);

mercurial