tendermint/libs/common
Dev Ojha 71859f8f3b common/rand: Remove exponential distribution functions (#1979)
We were computing these functions incorrectly.
I'm not sure what distribution these numbers are, but it isn't the
normal exponential distribution. (We're making the probability of
getting a number of a particular bitlength equal, but the number in
that bitlength thats gets chosen is uniformly chosen)

We weren't using these functions anywhere in our codebase, and they
had a nomenclature error. (There aren't exponentially distributed
integers, instead they would be geometrically distributed)
2018-07-16 11:38:04 +04:00
..
LICENSE mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
async.go make linter happy 2018-07-02 12:06:43 -04:00
async_test.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
bit_array.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
bit_array_test.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
bytes.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
bytes_test.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
byteslice.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
byteslice_test.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
cmap.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
cmap_test.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
colors.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
date.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
date_test.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
errors.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
errors_test.go make linter happy 2018-07-02 12:06:43 -04:00
heap.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
int.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
int_test.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
io.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
kvpair.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
math.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
net.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
net_test.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
nil.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
os.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
os_test.go Switch usage of math/rand to cmn's rand (#1980) 2018-07-16 11:20:37 +04:00
random.go common/rand: Remove exponential distribution functions (#1979) 2018-07-16 11:38:04 +04:00
random_test.go common/rand: Remove exponential distribution functions (#1979) 2018-07-16 11:38:04 +04:00
repeat_timer.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
repeat_timer_test.go Switch usage of math/rand to cmn's rand (#1980) 2018-07-16 11:20:37 +04:00
service.go fix import paths 2018-07-01 22:36:49 -04:00
service_test.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
string.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
string_test.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
throttle_timer.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
throttle_timer_test.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
types.pb.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
types.proto mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
word.go mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00