1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

workaround for clang3.2: cstdint constant macros missing

This commit is contained in:
bolero-MURAKAMI 2013-08-04 11:08:41 +09:00
parent 4d70a437ce
commit 99547d3fe7
3 changed files with 88 additions and 49 deletions

View file

@ -2,10 +2,10 @@
#define SPROUT_RANDOM_MERSENNE_TWISTER_HPP
#include <cstddef>
#include <cstdint>
#include <ios>
#include <type_traits>
#include <sprout/config.hpp>
#include <sprout/cstdint.hpp>
#include <sprout/random/random_result.hpp>
#include <sprout/array/array.hpp>
#include <sprout/detail/integer/integer_mask.hpp>
@ -586,15 +586,15 @@ namespace sprout {
312,
156,
31,
UINT64_C(0xb5026f5aa96619e9),
SPROUT_UINT64_C(0xb5026f5aa96619e9),
29,
UINT64_C(0x5555555555555555),
SPROUT_UINT64_C(0x5555555555555555),
17,
UINT64_C(0x71d67fffeda60000),
SPROUT_UINT64_C(0x71d67fffeda60000),
37,
UINT64_C(0xfff7eee000000000),
SPROUT_UINT64_C(0xfff7eee000000000),
43,
UINT64_C(6364136223846793005)
SPROUT_UINT64_C(6364136223846793005)
> mt19937_64;
} // namespace random