summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-12-05 15:36:10 +0100
committerTyge Løvset <[email protected]>2020-12-05 15:36:10 +0100
commit5d7bac2f83774e24fd311780a1054dc901753f2e (patch)
tree9010829b11b01c69bad9754a4171291845dec2f0
parent9674b3588d133007429f69010311349f9afbae04 (diff)
downloadSTC-modified-5d7bac2f83774e24fd311780a1054dc901753f2e.tar.gz
STC-modified-5d7bac2f83774e24fd311780a1054dc901753f2e.zip
Fixed text describing normal-dist.
-rw-r--r--docs/crandom_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/crandom_api.md b/docs/crandom_api.md
index df7569f8..e2db0d30 100644
--- a/docs/crandom_api.md
+++ b/docs/crandom_api.md
@@ -52,7 +52,7 @@ All cstr definitions and prototypes may be included in your C source file by inc
```
`1-2)` PRNG 64-bit engine initializers. `3)` Integer generator, range \[0, 2^64). `4)` Double RNG with range \[0, 1).
`5-6)` Uniform integer RNG with range \[*low*, *high*]. `7-8)` Uniform double RNG with range \[*low*, *high*).
-`9-10)` Normal-distributed double RNG with range [*mean*-*stddev*, *mean*+*stddev*].
+`9-10)` Normal-distributed double RNG were 99.7% of the values are within the range [*mean*-*stddev\*3*, *mean*+*stddev\*3*].
The method `crand_i64(crand_rng64_t* rng)` is an extremely fast PRNG suited for parallel usage, featuring
a Weyl-sequence as part of the state. It is faster than *sfc64*, *wyhash64*, *pcg*, and the *xoroshiro*