24 #if defined(__clang__) || \
25 (defined(__GNUC__) && \
26 (__GNUC__ * 10000 + __GNUC_MINOR__ * 100) >= 40600)
27 #define KUDU_INT128_SUPPORTED 1
29 #define KUDU_INT128_SUPPORTED 0
32 #if KUDU_INT128_SUPPORTED
35 typedef unsigned __int128 uint128_t;
36 typedef signed __int128 int128_t;
40 static const uint128_t UINT128_MIN = (uint128_t) 0;
41 static const uint128_t UINT128_MAX = ((uint128_t) -1);
42 static const int128_t INT128_MAX = ((int128_t)(UINT128_MAX >> 1));
43 static const int128_t INT128_MIN = (-INT128_MAX - 1);