MakeExponentiallyDistributed

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

NameDescription
uniformA uniformly distributed random 64-bit value.