aboutsummaryrefslogtreecommitdiff
path: root/src/utils/constants.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2026-09-17 21:58:25 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2026-09-17 21:58:25 +0200
commitf07093968e2a5152a0e4a587e89a6582db7135e3 (patch)
tree9569a4dc4697f37acc1295cb5a515c973023dcb5 /src/utils/constants.h
parent2f9d00075b0d236ecd8431761bb045e6aa088001 (diff)
parent1f7e8e937d0e71e7eb3b5deab38b34d0a0159d88 (diff)
downloadnissy-core-f07093968e2a5152a0e4a587e89a6582db7135e3.tar.gz
nissy-core-f07093968e2a5152a0e4a587e89a6582db7135e3.zip
Merge branch 'master' into twostep-solver
Diffstat (limited to 'src/utils/constants.h')
-rw-r--r--src/utils/constants.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/constants.h b/src/utils/constants.h
index 3eed27d..3d0f6e3 100644
--- a/src/utils/constants.h
+++ b/src/utils/constants.h
@@ -1,3 +1,6 @@
1#ifndef UTILS_CONSTANTS_H
2#define UTILS_CONSTANTS_H
3
1#define UINT8_BIT(i) (UINT8_C(1) << (uint8_t)(i)) 4#define UINT8_BIT(i) (UINT8_C(1) << (uint8_t)(i))
2 5
3#define FACTORIAL_MAX UINT64_C(12) 6#define FACTORIAL_MAX UINT64_C(12)
@@ -42,3 +45,5 @@ STATIC uint64_t binomial[12][12] = {
42 {1, 10, 45, 120, 210, 252, 210, 120, 45, 10, 1, 0}, 45 {1, 10, 45, 120, 210, 252, 210, 120, 45, 10, 1, 0},
43 {1, 11, 55, 165, 330, 462, 462, 330, 165, 55, 11, 1}, 46 {1, 11, 55, 165, 330, 462, 462, 330, 165, 55, 11, 1},
44}; 47};
48
49#endif /* UTILS_CONSTANTS_H */

Generated with cgit - Back to sebastiano.tronto.net