diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-10-10 21:45:32 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-10-10 21:45:32 -0400 |
commit | a43ff1f98e9b9814f858bccb11c174b418458491 (patch) | |
tree | ae7e094d914eddb8a1ae9548420ba8c2f329ffae /lib/types.h | |
parent | 6e264d243f0b29d90e90b605b6cdeab8227129c9 (diff) | |
download | c++-a43ff1f98e9b9814f858bccb11c174b418458491.tar.gz c++-a43ff1f98e9b9814f858bccb11c174b418458491.tar.bz2 c++-a43ff1f98e9b9814f858bccb11c174b418458491.zip |
big rearrangement of files to make libraries and example (research) files clearer, and changed to c++ std lib random numbers
Diffstat (limited to 'lib/types.h')
-rw-r--r-- | lib/types.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/lib/types.h b/lib/types.h deleted file mode 100644 index ec9efaf..0000000 --- a/lib/types.h +++ /dev/null @@ -1,36 +0,0 @@ - -#include <inttypes.h> - -typedef uint_fast32_t v_t; -typedef uint_fast8_t q_t; -typedef uint_fast16_t R_t; -typedef uint_fast8_t D_t; -typedef uint_fast16_t L_t; -typedef uint_fast64_t count_t; -typedef int_fast64_t h_t; - -#define MAX_v UINT_FAST32_MAX -#define MAX_Q UINT_FAST8_MAX -#define MAX_R UINT_FAST16_MAX -#define MAX_D UINT_FAST8_MAX -#define MAX_L UINT_FAST16_MAX -#define MAX_COUNT UINT_FAST64_MAX -#define MAX_H INT_FAST64_MAX -#define MIN_H INT_FAST64_MIN - -#define PRIv PRIuFAST32 -#define PRIq PRIuFAST8 -#define PRIR PRIuFAST16 -#define PRID PRIuFAST8 -#define PRIL PRIuFAST16 -#define PRIcount PRIuFAST64 -#define PRIh PRIdFAST64 - -#define SCNv SCNuFAST32 -#define SCNq SCNuFAST8 -#define SCNR SCNuFAST16 -#define SCND SCNuFAST8 -#define SCNL SCNuFAST16 -#define SCNcount SCNuFAST64 -#define SCNh SCNdFAST64 - |