Anonymous user
Verify distribution uniformity/Naive: Difference between revisions
→{{header|PARI/GP}}: update/fix
m (Simplified) |
(→{{header|PARI/GP}}: update/fix) |
||
Line 788:
dice7()={
my(t);
while((t=dice5()*5+dice5()) >
};
Line 815:
test(()->if(random(1000),random(1000),1), 10^5)</lang>
Output:
<pre>Flat with significance
### user error: Not flat enough, significance only 5.391077606003910233 E-3500006</pre>
|