|
typedef __UINT8_TYPE__ | uint8_t |
|
typedef __UINT16_TYPE__ | uint16_t |
|
typedef __UINT32_TYPE__ | uint32_t |
|
typedef __UINT64_TYPE__ | uint64_t |
|
typedef __INT8_TYPE__ | int8_t |
|
typedef __INT16_TYPE__ | int16_t |
|
typedef __INT32_TYPE__ | int32_t |
|
typedef __INT64_TYPE__ | int64_t |
|
typedef __UINT_LEAST8_TYPE__ | uint_least8_t |
|
typedef __UINT_LEAST16_TYPE__ | uint_least16_t |
|
typedef __UINT_LEAST32_TYPE__ | uint_least32_t |
|
typedef __UINT_LEAST64_TYPE__ | uint_least64_t |
|
typedef __INT_LEAST8_TYPE__ | int_least8_t |
|
typedef __INT_LEAST16_TYPE__ | int_least16_t |
|
typedef __INT_LEAST32_TYPE__ | int_least32_t |
|
typedef __INT_LEAST64_TYPE__ | int_least64_t |
|
typedef __UINT_FAST8_TYPE__ | uint_fast8_t |
|
typedef __UINT_FAST16_TYPE__ | uint_fast16_t |
|
typedef __UINT_FAST32_TYPE__ | uint_fast32_t |
|
typedef __UINT_FAST64_TYPE__ | uint_fast64_t |
|
typedef __INT_FAST8_TYPE__ | int_fast8_t |
|
typedef __INT_FAST16_TYPE__ | int_fast16_t |
|
typedef __INT_FAST32_TYPE__ | int_fast32_t |
|
typedef __INT_FAST64_TYPE__ | int_fast64_t |
|
typedef __UINTPTR_TYPE__ | uintptr_t |
|
typedef __INTPTR_TYPE__ | intptr_t |
|
typedef __UINTMAX_TYPE__ | uintmax_t |
|
typedef __INTMAX_TYPE__ | intmax_t |
|
C library Integer types (Freestanding)
This header implements the stdint.h standard header, as required by C11 S4p6. This header is specified in detail in S7.20 the same.
Actual limit values below are defined as:
- Unsigned MAXs are defined as the
0xff..ffU
all-ones representation.
- Signed MINs are defined as
0x80..00
all-zeroes-but-the-last representation.
- Unsigned MAXs are defined as
0x7f..ff
all-ones-but-the-last representation. These shorthands are correct for two's complement and the ones least likely to get a mistake in.
It goes without saying that this file assumes the underlying representation is two's complement and little-endian.
See https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md for the RISC-V specifics this file conforms to.
Definition in file stdint.h.