*NULL in gcd_ui ?

Marc Glisse marc.glisse at normalesup.org
Wed May 13 07:09:17 CEST 2009


Hello,

taking a look at mpz_gcd_ui, this function supposedly can be given NULL as 
a first argument. However, when:
BITS_PER_ULONG > GMP_NUMB_BITS
it looks like it is dereferencing this first argument no matter what.

I don't know if this matters, since nails are not currently supported...

-- 
Marc Glisse


More information about the gmp-bugs mailing list