 |
| datatype |
storage |
bytes |
bits |
minimum |
maximum |
| bool |
byte |
1 |
8 |
false |
true |
| char |
byte |
1 |
8 |
-128 |
127 |
| unsigned char |
byte |
1 |
8 |
0U |
255U |
| short |
short word |
2 |
16 |
-32768 |
32767 |
| unsigned short |
short word |
2 |
16 |
0U |
65535U |
| int |
word |
4 |
32 |
-2147483648 |
2147483647 |
| unsigned int |
word |
4 |
32 |
0U |
4294967295U |
| long |
long word |
8 |
64 |
-9223372036854775808L |
9223372036854775807L |
| unsigned long |
long word |
8 |
64 |
0UL |
18446744073709551615UL |
| float |
word |
4 |
32 |
1.17549435e-38F |
3.40282347e+38F |
| double |
long word |
8 |
64 |
2.2250738585072014e-308 |
1.7976931348623157e+308 |
| long double |
quad word |
16 |
128 |
3.362103143112093506262677817321752603E-4932L |
1.189731495357231765085759326628007016E+4932L |
In addition to the above, all pointers are 8 bytes in length.
|