diff options
| author | Erik Arvstedt <erik.arvstedt@gmail.com> | 2022-05-12 14:13:20 +0200 |
|---|---|---|
| committer | Erik Arvstedt <erik.arvstedt@gmail.com> | 2022-05-12 15:39:19 +0200 |
| commit | 1d5ea10bee39c6378c5d41597ed477075c3c667f (patch) | |
| tree | 92fa79b1cbaf0eb4673f7c9f69b848ebb733aa41 /src/Compilation.zig | |
| parent | 7bedeb9659af84daab33a4804c54b4c8811c0c5d (diff) | |
| download | zig-1d5ea10bee39c6378c5d41597ed477075c3c667f.tar.gz zig-1d5ea10bee39c6378c5d41597ed477075c3c667f.zip | |
std.rand: fixup 'improve random float generation'
- Test: Fix bucket counting. Previously, the first hit was not counted.
This off-by-one error slightly increased the mean of `*_total_variance`,
which decreased the acceptance rate for a particular random seed
from 95% to 92.6%. (Irrelevant for test failure because the seed is fixed.)
- Improve comments
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
