[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #6831 [Tor Relay]: Fix behavior of round_to_power_of_2



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs