long long
描述
Long-long (超长整数) 是一个延伸储存空间的变数型别,它可以储存 64bits (8 bytes) 大小的整数,从 –9,223,372,036,854,775,808 到 9,223,372,036,854,775,807。
如果超长整数要和整数做数学运算,必须在整数常数最后面加上 LL,强制指定此整数为超长整数。
范例
long long speedOfRobot = 186000000LL;
语法
long long var = val;
var
long long 型别的变数名称
val
指派给变数的值
See also
- byte
- int
- unsigned int
- unsigned long long
- Variable Declaration
The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.