diff options
Diffstat (limited to 'byterun/int64_native.h')
-rw-r--r-- | byterun/int64_native.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/byterun/int64_native.h b/byterun/int64_native.h index f5bef4a6f..9c0790970 100644 --- a/byterun/int64_native.h +++ b/byterun/int64_native.h @@ -29,6 +29,9 @@ #define I64_mul(x,y) ((x) * (y)) #define I64_is_zero(x) ((x) == 0) #define I64_is_negative(x) ((x) < 0) +#define I64_is_min_int(x) ((x) == ((int64)1 << 63)) +#define I64_is_minus_one(x) ((x) == -1) + #define I64_div(x,y) ((x) / (y)) #define I64_mod(x,y) ((x) % (y)) #define I64_udivmod(x,y,quo,rem) \ |