About initialization

Vincent Lefevre vincent at vinc17.net
Sun May 8 22:30:43 UTC 2016


On 2016-05-07 18:22:53 +0200, Emanuele wrote:
> Hi, I suggest to add an example to initializing gmp objects, because I found
> it too unclearly (I'm not the only <http://stackoverflow.com/questions/25162671/gmp-initializing-multiple-variables>).

Note that you need to make sure that the type of the last argument
is correct (no type analysis can be done by the compiler with such
functions). See my answer.

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


More information about the gmp-discuss mailing list