On Mon, 22 Aug 2016, sisyphus1 at optusnet.com.au wrote: > What is the intended behaviour when the double provided to mpz_set_d is an > inf or a nan ? https://gmplib.org/repo/gmp/file/tip/invalid.c#l55 -- Marc Glisse