128 bits integers

Ian Lance Taylor ian@airs.com
Sun Jul 24 03:46:00 GMT 2005


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



More information about the Gcc-help mailing list