Searched refs:mrg_get_uint_orig (Results 1 – 4 of 4) sorted by relevance
63 uint_fast64_t acc = mrg_get_uint_orig(st); in random_up_to()70 uint_fast64_t acc = mrg_get_uint_orig(st) * UINT64_C(0x7FFFFFFF); in random_up_to()71 acc += mrg_get_uint_orig(st); /* Do this separately to get fixed ordering. */ in random_up_to()
284 uint_fast32_t mrg_get_uint_orig(mrg_state* state) { function291 return (double)mrg_get_uint_orig(state) * .000000000465661287524579692 /* (2^31 - 1)^(-1) */ +292 … (double)mrg_get_uint_orig(state) * .0000000000000000002168404346990492787 /* (2^31 - 1)^(-2) */
106 uint32_t val = mrg_get_uint_orig(st); in generate_4way_bernoulli()110 val = mrg_get_uint_orig(st); in generate_4way_bernoulli()233 val0 = mrg_get_uint_orig(&new_state); in MakeScrambleValues()235 val0 += mrg_get_uint_orig(&new_state); in MakeScrambleValues()236 val1 = mrg_get_uint_orig(&new_state); in MakeScrambleValues()238 val1 += mrg_get_uint_orig(&new_state); in MakeScrambleValues()
46 uint_fast32_t mrg_get_uint_orig(mrg_state* state);