aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorErik Arvstedt <erik.arvstedt@gmail.com>2022-05-12 14:13:20 +0200
committerErik Arvstedt <erik.arvstedt@gmail.com>2022-05-12 15:39:19 +0200
commit1d5ea10bee39c6378c5d41597ed477075c3c667f (patch)
tree92fa79b1cbaf0eb4673f7c9f69b848ebb733aa41 /src/Compilation.zig
parent7bedeb9659af84daab33a4804c54b4c8811c0c5d (diff)
downloadzig-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