Given a uniformly random uint64_t, return an exponentially distributed double with mean 1.
Synopsis
Declared in <random.h>
double
MakeExponentiallyDistributed(uint64_t uniform) noexcept;
Return Value
An exponentially distributed double with mean 1.
Parameters
Name |
Description |
uniform |
A uniformly distributed random 64‐bit value. |
Created with MrDocs