[tor-bugs] #6831 [Tor Relay]: Fix behavior of round_to_power_of_2
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Fri Sep 14 13:43:05 UTC 2012
#6831: Fix behavior of round_to_power_of_2
-----------------------+----------------------------------------------------
Reporter: nickm | Owner:
Type: defect | Status: needs_review
Priority: trivial | Milestone: Tor: 0.2.4.x-final
Component: Tor Relay | Version:
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
Comment(by rransom):
If `round_to_power_of_2`'s input is 0, its output will be--- eeek, it
''is'' 2.
If `round_to_power_of_2`'s input is 1, its output will be 1 (or 2^0^).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6831#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list