Names specified here
Name Description Notes Source Availability
ATOMIC_LLONG_LOCK_FREE Lock-free property of type atomic_llong ? M <stdatomic.h> C11
atomic_llong Atomic integer type ? T <stdatomic.h> C11
atomic_ullong Atomic integer type ? T <stdatomic.h> C11
LLONG_MAX Maximum value of long long L M <limits.h> C99 C11
LLONG_MIN Minimum value of long long L M <limits.h> C99 C11
long long Signed integer type L T Native C99 C11
ULLONG_MAX Maximum value of unsigned long long L M <limits.h> C99 C11
unsigned long long Unsigned integer type L T Native C99 C11

long long is a signed integer type with the range LLONG_MIN to LLONG_MAX, which is at least ±9223372036854775807. It can also be called signed long long or long long signed. Use %lld or %lli with printf to print an long long. Use %lld or %lli with scanf to scan an long long. Constants of type long long are suffixed with ll or LL.

unsigned long long is an unsigned integer type with the range 0 to ULLONG_MAX, which is at least +18446744073709551615. It can also be called long long unsigned. Use %llu, %llo, %llx or %llX with printf to print an unsigned long long. Use %llu, %llo or %llx with scanf to scan an unsigned long long. Constants of type unsigned long long are suffixed with ull, Ull, llu, llU, uLL, ULL, LLu or LLU.

sizeof(long long) and sizeof(unsigned long long) are the same. long long and unsigned long long are intended to be wider than other standard native integer types like long.

atomic_ullong is an alias for _Atomic unsigned long long. atomic_llong is an alias for _Atomic long long. These types are lock-free always if ATOMIC_LLONG_LOCK_FREE is 2, sometimes if 1, and never if 0.


CHaR
Sitemap Supported
Site format updated 2024-06-05T22:37:07.391+0000
Data updated 1970-01-01T00:00:00.000+0000
Page updated 2022-06-17T21:43:05.000+0000