summaryrefslogtreecommitdiffhomepage
path: root/docs/crandom_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-02-13 22:14:49 +0100
committerTyge Løvset <[email protected]>2022-02-13 22:14:49 +0100
commitb39c5fef6ebbe1b2db8ffc324679278382789c99 (patch)
tree4f7f174ef93e88fb295357964f6453738de0c7f7 /docs/crandom_api.md
parent00cc6351fd4a0cdf216eba3cc4918aa3c7aa0704 (diff)
downloadSTC-modified-b39c5fef6ebbe1b2db8ffc324679278382789c99.tar.gz
STC-modified-b39c5fef6ebbe1b2db8ffc324679278382789c99.zip
Refactored crandom. Removed 32-bit version. Made normal dist inline - does not require math lib if not used. Added stc64_randomf()
Diffstat (limited to 'docs/crandom_api.md')
-rw-r--r--docs/crandom_api.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/crandom_api.md b/docs/crandom_api.md
index b099eeaf..896f1c83 100644
--- a/docs/crandom_api.md
+++ b/docs/crandom_api.md
@@ -43,6 +43,7 @@ All crandom definitions and prototypes are available by including a single heade
```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)
stc64_t stc64_init(uint64_t seed);
stc64_t stc64_with_seq(uint64_t seed, uint64_t seq); // init with stream