How to make calculations with numbers that do not fit into a long long int ? You can split the number into 2 variables, in one of which the first orders are stored, and the remaining ones in the second, but is there a simpler method?

    1 answer 1

    Look towards solutions for working with large numbers ( arbitrary-precision arithmetic ):

    You can also look here .

    • GMP has problems on Windows, it was very difficult for the studio to build it. From what is definitely worth adding - OpenSSL, there is a BN for long arithmetic. There is also MIRACL, but it is slower than OpenSSL on some operations at times, besides it is poorly documented. - Vladimir Martyanov