GCC是否支持长长的诠释? [英] Does GCC support long long int?

查看:142
本文介绍了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 在<$ C值$ C>&LT; limits.h中&GT; 意味着它的至少的64位(确切的64位宽的整数类型的int64_t / uint64_t中&LT; stdint.h方式&gt;

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

这篇关于GCC是否支持长长的诠释?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆