On 2025-11-09 04:42, Ray steven wrote:
If memory allocation fails, mpz_get_str() may return NULL.
I don't see how. When GMP functions exhaust memory, they exit; they don't return a null pointer.
On 2025-11-09 04:42, Ray steven wrote:
If memory allocation fails, mpz_get_str() may return NULL.
I don't see how. When GMP functions exhaust memory, they exit; they don't return a null pointer.