
1 pengweiqhca 2014-09-02 20:56:21 +08:00 Javascript的integer是一个大整数,在一定范围内你可以认为它是无限大的 |
2 Golevka 2014-09-02 21:35:10 +08:00 @pengweiqhca 啥? |
3 toctan 2014-09-02 21:53:21 +08:00 JS has only one number type, 64-bit floating point, no integers. |
4 Mutoo 2014-09-02 22:09:22 +08:00 js的位运算会丢失32位以上的部分。似乎真的没办法支持64位。 |
5 tdwyx 2014-09-03 09:20:21 +08:00 http://mathjs.org/ math.add(math.bignumber('12345678901234567890'), math.bignumber('12345678901234567890')); |
6 tdwyx 2014-09-03 09:49:49 +08:00 又看了下,那个好像没有位运算的功能 |