| 158 | FastRandom( uint64_t seed) { init(seed); } |
| 159 | template <typename T> |
| 160 | void init( T seed ) { |
| 161 | init(seed,int_to_type<sizeof(seed)>()); |
| 162 | } |
| 163 | void init( uint64_t seed , int_to_type<8> ) { |
| 164 | init(uint32_t((seed>>32)+seed), int_to_type<4>()); |
| 165 | } |