You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[GNATS 27353] Set MAX_INTEGER_VALUE/MAX_UNSIGNED_INTEGER_VALUE properly for 128-bit integers #38
Trying to use a 128-bit integer host representation ends up defaulting MAX_INTEGER_VALUE/MAX_UNSIGNED_INTEGER_VALUE to incorrect values. These seem to work:
#define MAX_INTEGER_VALUE ((__int128_t)0x7fffffffffffffffffffffffffffffff)
#define MAX_UNSIGNED_INTEGER_VALUE ((__uint128_t)0xffffffffffffffffffffffffffffffff)
Activity