Returns a float in [0, 1).
[0, 1)
random ensures that each respective returned value from streams with the same seed is equal across runs and engines by internally constructing a 53-bit integer and dividing it by 2 ** 53 (which avoids engine-dependent rounding).
random
2 ** 53
Returns a float in
[0, 1).randomensures that each respective returned value from streams with the same seed is equal across runs and engines by internally constructing a 53-bit integer and dividing it by2 ** 53(which avoids engine-dependent rounding).