diff options
author | pommicket <pommicket@gmail.com> | 2023-08-05 21:51:08 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-05 21:51:08 -0400 |
commit | bcb5589f17f755b965dec49af3232a5a69a8e68f (patch) | |
tree | cefcf8b3c42e56038e1902bfae53fff8508c7b98 /base.h | |
parent | 9e68c6f3dd0b90f908c31c02fedb4b51836d4c8e (diff) |
some cleanup
Diffstat (limited to 'base.h')
-rw-r--r-- | base.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -81,6 +81,10 @@ typedef int64_t i64; // (for i8 and i16, you can use %d) #define I32_FMT "%" PRId32 #define I64_FMT "%" PRId64 +#define I8_MIN ((i8)0x80) +#define I16_MIN ((i16)0x8000) +#define I32_MIN ((i32)0x80000000) +#define I64_MIN ((i64)0x8000000000000000) #define I8_MAX 0x7f #define I16_MAX 0x7fff #define I32_MAX 0x7fffffff |