aboutsummaryrefslogtreecommitdiff
path: root/include/xorshift64.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xorshift64.h')
-rw-r--r--include/xorshift64.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/include/xorshift64.h b/include/xorshift64.h
index 54392a0..b9ba97a 100644
--- a/include/xorshift64.h
+++ b/include/xorshift64.h
@@ -1,18 +1,18 @@
/*
- This file is part of ct.
+ This file is part of ct.
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with ct. If not, see <https://www.gnu.org/licenses/>.
+ You should have received a copy of the GNU General Public License
+ along with ct. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef XORSHIFT_H
@@ -22,11 +22,11 @@
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 RANDOM32 ((uint32_t)RANDOM64)