long double

size of long integer type on different architecture and OS

The Intel Compiler treats the size of a "long" integer as 4 bytes or 8 bytes depending on the architecture and operating system, affecting portability. The size of a "long long" integer is always 8 bytes. The size of a "long double" may also vary.
  • Linux*
  • Apple OS X*
  • Microsoft Windows* (XP, Vista, 7)
  • C/C++
  • Compilateur Intel® C++
  • sizeof
  • long integer
  • long double
  • long long integer
  • S’abonner à long double