Search code examples
c++long-double

Has "long double" a single word name?


Many new C++ data type names have a single word name, for example:

  • int16_t instead of signed short int
  • int64_t instead of signed long long int
  • ...

Has "long double" a single word name?


Solution

  • No, int16_t doesn't always mean short etc. int16_t etc are integer types of specified size, while size of short etc is unspecified. You don't need such things for floating point types, because their sizes are specified.