This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 128 bits integers


AndrÃs DomÃnguez <andresdju@gmail.com> writes:

> How can I use 128 bits integers in C language with gcc on AMD64?
> What is __int128? I have tried __int128 but doesn't work.

It's hardly elegant, and there may be a better solution, but this will
work:

typedef int bigint_t __attribute__ ((__mode__ (__TI__)));

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]