Lazy mpz allocation

Vincent Lefevre vincent at
Fri Apr 20 18:30:43 UTC 2018

On 2018-04-20 20:26:05 +0200, Vincent Lefevre wrote:
> Yes, but this just means that the user must not call these
> functions in such a case. But he can do some work before
> calling these functions. In particular, mpq_numref and
> mpq_denref should work.

In particular, the user can write wrappers on top of the GMP functions
to support infinities.

Vincent Lefèvre <vincent at> - Web: <>
100% accessible validated (X)HTML - Blog: <>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

More information about the gmp-devel mailing list