1

How would you declare a large number that is 128 bits in GMP with the #include <gmp.h>? This number is an integer.

4

1 回答 1

3

用于mpz_set_str初始化为 ascii 值。

mpz_t N;
mpz_init(N);
mpz_set_str(N, "55555555555555555555555555555");
于 2012-09-04T22:28:41.063 回答