Particular, this will be the case if any of the following are true: If an implementation provides integer types with width 64 that meet these requirements, then the following types are required: Uint24_t denotes an unsigned integer type with a width of exactly 24 bits. The typedef name uint N _t designates an unsigned integer type with width N. Thus, int8_t denotes a signed integer type with a width of exactly 8 bits. The typedef name int N _t designates a signed integer type with width N, no padding bits, andĪ two's-complement representation. In the following descriptions, the symbol N represents an unsigned decimal integer with no leading zeros (for example, 8 Providing one of these corresponding types shall also provide the other. When typedef names differing only in the absence or presence of the initial u are defined, they shall denoteĬorresponding signed and unsigned types as described in the ISO/IEC 9899:1999 standard, Section 6.2.5 an implementation Provide, the header shall not declare that typedef name, nor shall it define the associated macros.Īn implementation shall provide those types described as required, but need not provide any of the others (described as Conversely, for each type described herein that the implementation does not Typedef name and define the associated macros. (Some of these types may denote the same type.)Ĭorresponding macros specify limits of the declared types and construct suitable constants.įor each type described herein that the implementation provides, the header shall declare that Integer types wide enough to hold pointers to objects Integer types having at least certain specified widthsįastest integer types having at least certain specified widths Integer types having certain exact widths Types are defined in the following categories: An N-bit signed type hasĢ N-1-1, while an N-bit unsigned type has values in the range 0 to More bits than that (for example, a 28-bit type could be stored in 32 bits of actual storage). Note: The "width" of an integer type is the number of bits used to store its value in a pure binary system the actual type may use It shall also define macros that specify limits of integer types corresponding to types defined in other standard The header shall declare sets of integer types having specified widths, and shall define corresponding The appropriate feature test macro (see the System Interfaces volume of IEEE Std 1003.1-2001, Section 2.2, The Compilation Environment) to enable the visibility of these symbols in this Some of the functionality described on this reference page extends the ISO C standard.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |