Datentypen

Aus brainelectronics Wiki
Wechseln zu: Navigation, Suche
Integertypen mit Vorzeichen
Typname Bitbreite Wertebereich Alias
int8_t 8 Bit -128...127 signed char
int16_t 16 Bit -32768...32767 signed int
int32_t 32 Bit -2147483648...2147483647 signed long int
int64_t 64 Bit -9223372036854775808...9223372036854775807 signed long long
Integertypen ohne Vorzeichen
Typname Bitbreite Wertebereich Alias
uint8_t 8 Bit 0...255 (2^8 -1) unsigned char
uint16_t 16 Bit 0...65535 (2^16 -1) unsigned int
uint32_t 32 Bit 0...4294967295 (2^32 -1) unsigned long int
uint64_t 64 Bit 0...18446744073709551615 (2^64 -1) unsigned long long