def log_dist(a,b):
    if a <= 0 or a>b:
        raise ValueError("Value out of range. Valid range is (0,infinity).")
    return 10**(random.uniform(log10(a),log10(b)))
Generates exponentially distributed random numbers.
dataset/ETHPy150Open Ttl/evolutionary-circuits/evolutionary/chromosomes/common.py/log_dist