Generates and returns a new random floating-point value.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
A random floating-point value in the range
The distribution of multiple samplings is uniform within the range
[0; that is, the probability of this method returning any one value is approximately equal to that of returning any other value.
Typically, custom classes implementing this protocol should implement the
next method based on the value returned by the
next method. Alternative implementations are possible, but may lead to less uniform results.