
Hi,
I was expecting that the exponent set by mpz_get_d_2exp would be an 'unsigned' value - but both the code and the documentation specify a 'signed long int. That exponent can never be set to a negative value, can it ? (I can't see how it could, but sometimes my vision isn't so good.)

Cheers,
Rob
