c – LL在1000LL中的含义是什么?

c – LL在1000LL中的含义是什么?,第1张

概述我发表了这样的声明: time_t time = x / 1000LL; 那LL真正意味着什么呢? 从 this question复制粘贴,这似乎与ULL后缀完全相同: From the gcc 07001: ISO C99 supports data types for integers that are at least 64 bits wide, and as an extension GC 我发表了这样的声明:

time_t time = x / 1000LL;

那LL真正意味着什么呢?

@R_403_6120@ 从 this question复制粘贴,这似乎与ulL后缀完全相同:

From the gcc 07001:

ISO C99 supports data types for integers that are at least 64 bits wIDe,and as an extension GCC supports them in C90 mode and in C++.
Simply write long long int for a signed integer,or unsigned long
long int
for an unsigned integer. To make an integer constant of type
long long int,add the suffix LL to the integer. To make an
integer constant of type unsigned long long int,add the suffix
ulL to the integer.

实际上,它是long long int类型的后缀.

总结

以上是内存溢出为你收集整理的c – LL在1000LL中的含义是什么?全部内容,希望文章能够帮你解决c – LL在1000LL中的含义是什么?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/1217114.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-05
下一篇 2022-06-05

发表评论

登录后才能评论

评论列表(0条)

保存