javascript中的大整数(更多2 ^ 53-1) [英] Large integers in javascript (more the 2^53-1)

查看:561
本文介绍了javascript中的大整数(更多2 ^ 53-1)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在javascript中使用大整数操作的一般原则是什么?就像bigint的图书馆一样?我自己怎么做?

What is general principals to operate with large integers in javascript? Like in libraries for bigint? How i do it by myself?

推荐答案

你可以看看此实现。您还可以找到其他实现很有用。

You may take a look at this implementation. You may also find other implementations useful.

这篇关于javascript中的大整数(更多2 ^ 53-1)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆