summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-02-12 21:35:01 -0500
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-02-12 21:35:01 -0500
commit1e85449fff1aefb3234014482ea79c59a2860b01 (patch)
tree7bd87ea1643091e8e1a6fc7f2cd7940dde1fd96a /lib
parent059db8ea9c3598e208958c96a16ddfdf8410086a (diff)
downloadc++-1e85449fff1aefb3234014482ea79c59a2860b01.tar.gz
c++-1e85449fff1aefb3234014482ea79c59a2860b01.tar.bz2
c++-1e85449fff1aefb3234014482ea79c59a2860b01.zip
added support for measuring state decay rates and frequency of being in states
Diffstat (limited to 'lib')
-rw-r--r--lib/types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/types.h b/lib/types.h
index 3bca58c..d961ac1 100644
--- a/lib/types.h
+++ b/lib/types.h
@@ -7,8 +7,13 @@ typedef uint_fast8_t D_t;
typedef uint_fast16_t L_t;
typedef uint_fast64_t count_t;
-#define MAX_Q 256
+#define MAX_v INT_FAST32_MAX
+#define MAX_Q INT_FAST8_MAX
+#define MAX_D INT_FAST8_MAX
+#define MAX_L INT_FAST16_MAX
+#define MAX_COUNT INT_FAST64_MAX
+#define PRIv PRIuFAST32
#define PRIq PRIuFAST8
#define PRID PRIuFAST8
#define PRIL PRIuFAST16