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-bit integer - nonsensical documentation?


On 26 August 2015 at 12:04, Kostas Savvidis wrote:
> The online documentation contains the attached passage as part of the "C-Extensionsâ chapter. There are no actual machines which have an " integer mode wide enough to hold 128 bitsâ as the document puts it.

It's not talking about machine integers, it's talking about GCC
integer modes. Several targets support that.

> This would be a harmless confusion if it didnât go on to say ââ long long integer less than 128 bits wideâ (???!!!) Whereas in reality "long long intâ is 64 bits everywhere i have seen.


Read it more carefully, it says you can't express an integer constant
of type __int128 on such platforms.

So you can't write __int128 i =
999999999999999999999999999999999999999999999999999999999999;


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