Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
javascriptで大きな整数を操作するための一般的な原則は何ですか? bigintのライブラリのように?どうすれば自分でできますか?
この実装をご覧ください。他の実装も役立つ場合があります。
私が過去に使用した別のオプションは、これらの操作をjsonp経由で計算サーバーに渡すことです。このように大きな数を扱っている場合は、これによって得られるパフォーマンスと精度の向上が必要になるでしょう。