diff options
Diffstat (limited to 'include/xorshift64.h')
| -rw-r--r-- | include/xorshift64.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/xorshift64.h b/include/xorshift64.h index b9ba97a..c3542c6 100644 --- a/include/xorshift64.h +++ b/include/xorshift64.h @@ -22,13 +22,14 @@ extern uint64_t xors; -#define XORSHIFT64 { \ - xors ^= xors >> 12; \ - xors ^= xors << 25; \ - xors ^= xors >> 27; \ +#define XORSHIFT64 \ + { \ + xors ^= xors >> 12; \ + xors ^= xors << 25; \ + xors ^= xors >> 27; \ } -#define RANDOM64 (xors*0x2545F4914F6CDD1D) +#define RANDOM64 (xors * 0x2545F4914F6CDD1D) #define RANDOM32 ((uint32_t)RANDOM64) #endif |
