tor/src/lib/math
Taylor R Campbell 531df9590d Move ceil call back into the geometric sampler.
Test exactly what the geometric sampler returns, because that's what
the downstream callers of it are going to use.

While here, also assert that the geometric sampler returns a positive
integer.  (Our geometric distribution is the one suported on {1, 2,
3, ...} that returns the number of trials before the first success,
not the one supported on {0, 1, 2, ...} that returns the number of
failures before the first success.)
2019-01-11 14:40:50 +02:00
..
.may_include Implement and test probability distributions used by WTF-PAD. 2019-01-02 15:25:55 +02:00
fp.c Implement and test probability distributions used by WTF-PAD. 2019-01-02 15:25:55 +02:00
fp.h Implement and test probability distributions used by WTF-PAD. 2019-01-02 15:25:55 +02:00
include.am Implement and test probability distributions used by WTF-PAD. 2019-01-02 15:25:55 +02:00
laplace.c File-level documentation for some of src/lib. 2018-07-01 20:22:55 -04:00
laplace.h File-level documentation for some of src/lib. 2018-07-01 20:22:55 -04:00
prob_distr.c Move ceil call back into the geometric sampler. 2019-01-11 14:40:50 +02:00
prob_distr.h Implement and test probability distributions used by WTF-PAD. 2019-01-02 15:25:55 +02:00