Data Types
Type Name |
Bytes |
Range of Values |
(signed) byte |
1 |
-128 to 127 |
unsigned byte |
1 |
0 to 255 |
|
|
|
(signed) short |
2 |
-32,768 to 32,767 |
unsigned short |
2 |
0 to 65,535
|
|
|
|
(signed) long |
4 |
-2,147,483,648 to 2,147,483,647 |
unsigned long |
4 |
0 to 4,294,967,295 |
|
|
|
(signed) quad |
8 |
-9223372036854775808 to 9223372036854775807 |
unsigned quad |
8 |
0 to 18446744073709551616 |
|
|
|
float |
4 |
3.4E +/- 38 |
double |
8 |
1.7E +/- 308 |
long double |
10 |
1.2E +/- 4932 |