Merge pull request #3038 from andrioni/master

Fix mpz_probab_prime_p call
Add ifloor, iceil and itrunc to BigFloat (#3040)

They convert to a Int64 if it fits, otherwise to BigInt.