Helpful Byte stuff
Made by Tobin CavanaughIntegers:
#using <stdint.h>
Keyword | Bytes | Min | Max |
---|---|---|---|
uint8_t | 1 | 0 | 255 |
int8_t | 1 | -128 | 127 |
uint16_t | 2 | 0 | 65335 |
int16_t | 2 | -32768 | 32767 |
uint32_t | 4 | 0 | 4294967295 |
int32_t | 4 | -2147483648 | 2147483647 |
uint64_t | 8 | 0 | 18446744073709551615 |
int64_t | 8 | -9223372036854775808 | 9223372036854775807 |
Floating Point:
#using <float.h>
Keyword | Bytes | Min Keyword | Min | Max Keyword | Max |
---|---|---|---|---|---|
float | 4 | FLT_MIN | 0 | FLT_MAX | 3.4028234663852999 × 10^38 |
double | 8 | DBL_MIN | 0 | DBL_MAX | 1.7976931348623000 × 10^308 |