Update include.hh
This commit is contained in:
parent
20aa2581bf
commit
58535bb387
|
@ -38,6 +38,9 @@ constexpr ull MDL2 = 87825;
|
||||||
#define msp(x) (63LL - __builtin_clzll(ll(x)))
|
#define msp(x) (63LL - __builtin_clzll(ll(x)))
|
||||||
#define lsp(x) (__builtin_ctzll(ll(x)))
|
#define lsp(x) (__builtin_ctzll(ll(x)))
|
||||||
|
|
||||||
|
/* arithmetic operations */
|
||||||
|
#define mod(x, y) (((x) + (y)) % (y))
|
||||||
|
|
||||||
/* fast pairs */
|
/* fast pairs */
|
||||||
#define upair ull
|
#define upair ull
|
||||||
#define umake(x, y) (ull(x) << 32 | ull(y))
|
#define umake(x, y) (ull(x) << 32 | ull(y))
|
||||||
|
|
Loading…
Reference in New Issue