Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -16,7 +16,7 @@ double pi(double tolerance)
|
|||
}
|
||||
|
||||
val = (double) hit / sampled;
|
||||
error = val * sqrt(val * (1 - val) / sampled) * 4;
|
||||
error = sqrt(val * (1 - val) / sampled) * 4;
|
||||
val *= 4;
|
||||
|
||||
/* some feedback, or user gets bored */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue