[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #23323 [Core Tor/Tor]: sample_laplace_distribution should produce a valid result on 0.0
#23323: sample_laplace_distribution should produce a valid result on 0.0
-------------------------+-------------------------------------------------
Reporter: teor | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.3.2.x-final
Component: Core | Version: Tor: 0.2.6.3-alpha
Tor/Tor | Keywords: tor-relay, security-low,
Severity: Normal | 031-backport, 030-backport, 029-backport, 028
| -backport-maybe, 027-backport-maybe, 026
| -backport-maybe
Actual Points: | Parent ID: #23061
Points: 0.5 | Reviewer:
Sponsor: |
-------------------------+-------------------------------------------------
Destroying the signal with probability 1 in 2^-53^ isn't a great idea.
Let's pick a sensible double value, and pass it through the function
instead.
I suggest 2^-54^, but it really doesn't matter exactly what value we use,
as long as it produces valid results, because the probability is so low.
Introduced in 45bc5a0
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23323>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs