GMP and 64-bit systems

Vincent Lefevre vincent at
Sun Jun 1 21:48:59 CEST 2008

On 2008-06-02 02:40:16 +1000, Joerg Arndt wrote:
> Does the standard guarantee that intptr_t is OK for all types of
> pointers?

It seems so, by transitivity:

       [#1] The following type designates  a  signed  integer  type
       with  the  property  that  any  valid pointer to void can be
       converted to this type, then converted back  to  pointer  to
       void,  and  the  result  will  compare equal to the original


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

More information about the gmp-discuss mailing list