mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<source lang="c"> | <source lang="c"> | ||
void 0 bytes | void // 0 bytes 0 bit => 0 | ||
boolean 1 byte | boolean // 1 byte 1 bit => 0/1; true/false | ||
char 1 byte | char // 1 byte 8 bit => -128..127 | ||
byte 1 bytes | byte // 1 bytes 8 bit => 0..255 | ||
int 2 bytes | int // 2 bytes 16 bit => -32768..32767 | ||
unsigned int 2 bytes | unsigned int // 2 bytes 16 bit => 0..65535 | ||
long 4 bytes | long // 4 bytes 32 bit => -2147483648..2147483647 | ||
unsigned long 4 bytes | unsigned long // 4 bytes 32 bit => 0..4294967295 | ||
float 4 bytes | float // 4 bytes 32 bit => -3.4028235E+38..3.4028235E+38 | ||
double | double // 8 bytes 64 bit => a lot! | ||
Array | |||
String | String | ||
... | ... |
Latest revision as of 20:35, 1 December 2009
void // 0 bytes 0 bit => 0
boolean // 1 byte 1 bit => 0/1; true/false
char // 1 byte 8 bit => -128..127
byte // 1 bytes 8 bit => 0..255
int // 2 bytes 16 bit => -32768..32767
unsigned int // 2 bytes 16 bit => 0..65535
long // 4 bytes 32 bit => -2147483648..2147483647
unsigned long // 4 bytes 32 bit => 0..4294967295
float // 4 bytes 32 bit => -3.4028235E+38..3.4028235E+38
double // 8 bytes 64 bit => a lot!
Array
String
...