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.
How would you declare a large number that is 128 bits in GMP with the #include <gmp.h>? This number is an integer.
#include <gmp.h>
用于mpz_set_str初始化为 ascii 值。
mpz_set_str
mpz_t N; mpz_init(N); mpz_set_str(N, "55555555555555555555555555555");