Is there any JavaScript library that can be used for calculations involving 700+ Digits? Also, how about the same thing in C++?
Asked
Active
Viewed 2,073 times
4 Answers
10
JavaScript:
- Leemon Baird's BigInt library. This seems to be popular. It's made specifically for cryptographic uses.
- My own BigInteger library. Similar to the Java BigInteger class, but all calculations are done in base-10.
- jsbn. Another BigInteger class similar to Java's. I've never used this one, but the API looks similar to mine.
C++:

Lucio
- 4,753
- 3
- 48
- 77

Matthew Crumley
- 101,441
- 24
- 103
- 129
0
And then there is MAPM (Arbitrary Precision Math Library) in C with C++ bindings. I incooperated it some years ago for testing. Was very simple thanks to C++ bindings.

RED SOFT ADAIR
- 12,032
- 10
- 54
- 92