Anonymous_Guy's blog

By Anonymous_Guy, history, 3 years ago, In English

int: (4 bytes); - INT_MAX: 2147483647 (10^9) ; - INT_MAX: 4294967295 (10^9)

long, long long, long long int (8 bytes);
- LONG_MAX, LONG_LONG_MAX = 9223372036854775807 (10^18) ; - ULONG_LONG_MAX = 18446744073709551615 (10^19)

double: (8 bytes)

long double: (16 bytes)

NOTE: types' sizes differs from compiler to compiler compiler used: g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0

  • Vote: I like it
  • -32
  • Vote: I do not like it

| Write comment?
»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Any numeric type T: std::numeric_limits<T>::max()