This is an automatically generated file.
Part 1
Part 2
def rand_frac():
"""Generate random fractions.
Compute x = (rand_next + rand_seed)^5
rand_next = x - floor(x) + 0.000005 * x
Globals rand_next and rand_seed are initialized when needed.
Returns the new value of rand_next
"""
Part 3