random doubles and floats