mathRoundBig.js (358B)
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);