From 2af9351db3aa97da9b0d3f23d53a593bc96c8a8e Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 2 Feb 2018 18:33:22 -0500 Subject: does potts now, no external libraries --- lib/types.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lib/types.h (limited to 'lib/types.h') diff --git a/lib/types.h b/lib/types.h new file mode 100644 index 0000000..982db47 --- /dev/null +++ b/lib/types.h @@ -0,0 +1,16 @@ + +#include + +typedef uint_fast32_t v_t; +typedef uint_fast8_t q_t; +typedef uint_fast8_t D_t; +typedef uint_fast16_t L_t; +typedef uint_fast64_t count_t; + +#define MAX_Q 256 + +#define PRID PRIu8 +#define PRIL PRIu16 +#define PRIcount PRIu64 +#define PRIq PRIu8 + -- cgit v1.2.3-70-g09d2