Re:Higher Quality Random Floats
by zamadatix on Thursday October 19, 2023 @03:33PM
(#37947578)
Floats aren't uniformly distributed over the reals (e.g. larger floats are sparser) so the above approach simply tries to account for that when generating the number by using a precisely counteracting non-uniform selection method which will result in even distribution in relation to where in the reals the picks are. It does so directly.
[ Parent
| on HN ]
There are no comments on this comment yet.