GCC是否支持长长的诠释?

问题描述:

GCC是否支持:

long long int

这将是一个64位的整数

which would be a 64-bit integer?

此外,为得到long long int 标准的一部分?

Also, is long long int part of the standard?

是GCC确实支持得到long long int ,这是C99标准的一部分。

Yes GCC does support long long int, which is a part of C99 standard.

该标准不以位强制它的大小,但要求 LLONG_MIN LLONG_MAX 在< limits.h中> 意味着它的至少的64位(确切的64位宽的整数类型的int64_t / uint64_t中< stdint.h方式>

The standard does not mandate its size in bits, but required values of LLONG_MIN and LLONG_MAX in <limits.h> imply it's at least 64-bit (exact 64-bit wide integer types are int64_t/uint64_t from <stdint.h>).


  1. LLONG_MIN 必须至多 -9223372036854775807

  2. LLONG_MAX 必须至少 9223372036854775807

  1. LLONG_MIN must be at most -9223372036854775807
  2. LLONG_MAX must be at least 9223372036854775807