aboutsummaryrefslogtreecommitdiff
path: root/src/constants.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-07-04 17:09:55 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-07-04 17:09:55 +0200
commit518d98ad5f9eec0cf4124375bdbb84d1296b3f3f (patch)
tree467b2b0387f23a0b379cf428c6883937ec18c134 /src/constants.h
parent425eee24421bf0a19c7e0199d2e3ecba3318c8f4 (diff)
downloadnissy-core-518d98ad5f9eec0cf4124375bdbb84d1296b3f3f.tar.gz
nissy-core-518d98ad5f9eec0cf4124375bdbb84d1296b3f3f.zip
(almost) added getcube
Diffstat (limited to '')
-rw-r--r--src/constants.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/constants.h b/src/constants.h
index c8909d7..52e2810 100644
--- a/src/constants.h
+++ b/src/constants.h
@@ -2,10 +2,14 @@
2#define _bit_u32(i) (UINT32_C(1) << (uint32_t)(i)) 2#define _bit_u32(i) (UINT32_C(1) << (uint32_t)(i))
3#define _bit_u64(i) (UINT64_C(1) << (uint64_t)(i)) 3#define _bit_u64(i) (UINT64_C(1) << (uint64_t)(i))
4 4
5#define _max_factorial INT64_C(12)
6
5#define _2p11 INT64_C(2048) 7#define _2p11 INT64_C(2048)
6#define _2p12 INT64_C(4096) 8#define _2p12 INT64_C(4096)
7#define _3p7 INT64_C(2187) 9#define _3p7 INT64_C(2187)
8#define _3p8 INT64_C(6561) 10#define _3p8 INT64_C(6561)
11#define _12f INT64_C(479001600)
12#define _8f INT64_C(40320)
9#define _12c4 INT64_C(495) 13#define _12c4 INT64_C(495)
10#define _8c4 INT64_C(70) 14#define _8c4 INT64_C(70)
11 15

Generated with cgit - Back to sebastiano.tronto.net