Skip to content

Instantly share code, notes, and snippets.

@tondrej
Last active July 14, 2019 12:54
Show Gist options
  • Save tondrej/828d44778353046bf6ba3c50be22ec47 to your computer and use it in GitHub Desktop.
Save tondrej/828d44778353046bf6ba3c50be22ec47 to your computer and use it in GitHub Desktop.
Ordinals
type min (dec) max (dec) min (hex) max (hex) size C type
Shortint -128 127 80 7F 1 signed char
Byte 0 255 00 FF 1 unsigned char
Smallint -32768 32767 8000 7FFF 2 signed short
Word 0 65535 0000 FFFF 2 unsigned short
Integer -2147483648 2147483647 80000000 7FFFFFFF 4 signed long
Cardinal 0 4294967295 00000000 FFFFFFFF 4 unsigned long
Int64 -9223372036854775808 9223372036854775807 8000000000000000 7FFFFFFFFFFFFFFF 8 signed long long
QWord 0 18446744073709551615 0000000000000000 FFFFFFFFFFFFFFFF 8 unsigned long long
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment