diff options
| author | Tyge Løvset <[email protected]> | 2022-04-18 23:00:13 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-04-18 23:00:13 +0200 |
| commit | 1eddea1da0125ddad2f8804fadafd1494c1bb11a (patch) | |
| tree | 2c38c69cd129edb88dc901a3e1197d177b1a6cf9 /docs/crandom_api.md | |
| parent | c2ed81e1d1de503b9264e7c03bcc7087a270df94 (diff) | |
| download | STC-modified-1eddea1da0125ddad2f8804fadafd1494c1bb11a.tar.gz STC-modified-1eddea1da0125ddad2f8804fadafd1494c1bb11a.zip | |
Renamed stc64_random() => crandom(), stc64_srandom(seed) => csrandom(seed). Kept old names for backward comp.
Diffstat (limited to 'docs/crandom_api.md')
| -rw-r--r-- | docs/crandom_api.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/crandom_api.md b/docs/crandom_api.md index 896f1c83..41c4a574 100644 --- a/docs/crandom_api.md +++ b/docs/crandom_api.md @@ -41,9 +41,9 @@ All crandom definitions and prototypes are available by including a single heade ## Methods ```c -void stc64_srandom(uint64_t seed); // seed global rng -uint64_t stc64_random(void); // range [0, 2^64 - 1] -double stc64_randomf(void); // range [0.0, 1.0) +void csrandom(uint64_t seed); // seed global stc64 prng +uint64_t crandom(void); // global stc64_rand(rng) +double crandomf(void); // global stc64_randf(rng) stc64_t stc64_init(uint64_t seed); stc64_t stc64_with_seq(uint64_t seed, uint64_t seq); // init with stream |
