Home
last modified time | relevance | path

Searched refs:LCG (Results 1 – 1 of 1) sorted by relevance

/lib/
Drandom32.c115 #define LCG(x) ((x) * 69069) /* super-duper LCG */ in random32_init() macro
116 state->s1 = __seed(LCG(i + jiffies), 1); in random32_init()
117 state->s2 = __seed(LCG(state->s1), 7); in random32_init()
118 state->s3 = __seed(LCG(state->s2), 15); in random32_init()