Change the random generator function. Defaults to kotlin.random.Random.nextFloat.
Caveat: Should behave like kotlin.random.Random.nextFloat returning a value uniformly distributed between 0 (inclusive) and 1 (exclusive)
0
1
Random generator function