As of C99, C supports implementation-defined extended integer types (6.2.5 p7). Does any implementation actually implement an extended integer type?
I'm aware of gcc's __int128
, which is currently treated as a language extension and is not formally listed as an extended integer type in gcc's documentation of implementation-defined behavior (J.3.5). I couldn't find anything mentioned in the documentation for clang or MSVC. Solaris states that there are no extended integer types.
There is some related discussion at What are “extended integer types”?, but the only other candidate mentioned is __int64
in an older version of MSVC, and the comments seem to agree that it's not a formal extended integer type due to that version of MSVC being C90.