Lazy mpz allocation

paul zimmermann Paul.Zimmermann at inria.fr
Fri Apr 20 08:23:46 UTC 2018


> Only 0 can have lazy allocation, and I think we document that it isn't 
> legal to put 0 on the denominator.

where is this documented? In mpfr_set_q we use the fact that the user can set q to 1/0
for example to represent +Inf.

Paul


More information about the gmp-devel mailing list