Helper to create floating point values

def _float_generator(descriptor, bitwidth):
    'Helper to create floating point values'
    return gen.IterValueGenerator(descriptor.name, values.get_floats(bitwidth))