Don't know if this is a bug or not, but it looks weird - In mpz/set_ui.c and mpz/set_si.c there are two different #if's In set_ui.c - #if BITS_PER_ULONG > GMP_NUMB_BITS /* avoid warnings about shift amount */ In set_si.c - #if GMP_NAIL_BITS != 0 Roger While