summaryrefslogtreecommitdiffhomepage
path: root/docs/crandom_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-12-08 10:01:21 +0100
committerTyge Løvset <[email protected]>2020-12-08 10:01:21 +0100
commit3c00d164e02342d6c36f69ee0faa105ebb3b6494 (patch)
treec23b1d674ea6ec31863c7f131ab5820e516a615a /docs/crandom_api.md
parent5d7bac2f83774e24fd311780a1054dc901753f2e (diff)
downloadSTC-modified-3c00d164e02342d6c36f69ee0faa105ebb3b6494.tar.gz
STC-modified-3c00d164e02342d6c36f69ee0faa105ebb3b6494.zip
- Added clone() to cvec and clist
- Renamed cstr_erase(s, pos, n) to cstr_erase_at(s, pos, n) - Changed cvec_erase_at(v, pos) to cvec_erase_at(v, pos, n).
Diffstat (limited to 'docs/crandom_api.md')
-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 e2db0d30..9af69b9e 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 were 99.7% of the values are within the range [*mean*-*stddev\*3*, *mean*+*stddev\*3*].
+`9-10)` Normal-distributed double RNG were around 68% of the values are within the range [*mean* - *stddev, *mean* + *stddev*].
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*