mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
common: expose pseudorand_double
This commit is contained in:
committed by
Rusty Russell
parent
77236caa91
commit
06a062f36b
@@ -13,6 +13,12 @@ uint64_t pseudorand(uint64_t max);
|
||||
*/
|
||||
uint64_t pseudorand_u64(void);
|
||||
|
||||
/**
|
||||
* pseudorand - pseudo (guessable!) random number between 0 (inclusive) and 1
|
||||
* (exclusive).
|
||||
*/
|
||||
double pseudorand_double(void);
|
||||
|
||||
/**
|
||||
* Get the siphash seed for hash tables.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user