Ah, ok. So the function did not in fact try to return -1, but infinity. Which is logical, but not very practical in our environment. :-)
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-01-27 11:03: Subject: INT_TYPE = INT64
Fixed.
Actually, the libgmp mpz_popcount returns MAXUINT32 (as unsigned long int), so the answer was just not auto-converted to signed. I've added a test for that now, so the answer will stay compatible.
/ Mirar