Sujet : Re: Top 10 most common hard skills listed on resumes...
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 10. Sep 2024, 20:49:44
Autres entêtes
Organisation : None to speak of
Message-ID : <871q1r1e7b.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
User-Agent : Gnus/5.13 (Gnus v5.13)
Tim Rentsch <
tr.17687@z991.linuxsc.com> writes:
[...]
Assuming all that is right, I recommend
>
typedef __uint128_t U128;
typedef __int128_t S128;
>
which works in both gcc and clang (I don't know yet about
Visual Studio).
The documented names are `__int128` and `unsigned __int128`.
Both gcc and clang do recognize `__int128_t` and `__uint128_t`,
but I wouldn't recommend relying on an undocumented feature.
__int128 is treated as a keyword. __int128_t appears to be a predefined
identifier; it's visible even if no headers are included. __int128 and
__int128_t are compatible types, probably the same type.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */