From a302236be40c366eeffb694e673cce83fd4b6e4a Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sun, 7 Dec 2025 15:44:14 +0200 Subject: [PATCH] rand: restore error margin in dist_test.v back to 0.05 (the updated seeds were found by @tankf33er in #25907) --- vlib/rand/dist_test.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/rand/dist_test.v b/vlib/rand/dist_test.v index 17081a97d..e4893280b 100644 --- a/vlib/rand/dist_test.v +++ b/vlib/rand/dist_test.v @@ -4,9 +4,9 @@ import rand // The sample size to be used const count = 2000 // Accepted error is within 5% of the actual values. -const error = 0.06 +const error = 0.05 // The seeds used (for reproducible testing) -const seeds = [[u32(0xffff24), 0xabcd], [u32(0x141024), 0x42851], +const seeds = [[u32(0x24ffff), 0xabcd], [u32(0x141024), 0x42851], [u32(0x1452), 0x90cd]] fn test_bernoulli() { -- 2.39.5