Badrand pseudo random number generator, emphasis on pseudo
This commit is contained in:
parent
edc082adcb
commit
4c96aac02c
4 changed files with 95 additions and 1 deletions
|
|
@ -12,3 +12,18 @@ typedef unsigned long uint64_t;
|
|||
typedef uint64_t size_t;
|
||||
|
||||
typedef uint64_t uintptr_t;
|
||||
|
||||
#define INT8_MIN (-128)
|
||||
#define INT16_MIN (-32767 - 1)
|
||||
#define INT32_MIN (-2147483647 - 1)
|
||||
#define INT64_MIN (-__INT64_C(9223372036854775807) - 1)
|
||||
|
||||
#define INT8_MAX (127)
|
||||
#define INT16_MAX (32767)
|
||||
#define INT32_MAX (2147483647)
|
||||
#define INT64_MAX (__INT64_C(9223372036854775807))
|
||||
|
||||
#define UINT8_MAX (255)
|
||||
#define UINT16_MAX (65535)
|
||||
#define UINT32_MAX (4294967295U)
|
||||
#define UINT64_MAX (__UINT64_C(18446744073709551615))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue