mirror of
https://github.com/google/pebble
synced 2026-10-13 15:24:11 +02:00
+1
-1
@@ -22,7 +22,7 @@ NUM_SUBREGIONS = 8
|
||||
|
||||
|
||||
def round_up_to_power_of_two(x):
|
||||
""" Find the next power of two that is eqaul to or greater than x
|
||||
""" Find the next power of two that is equal to or greater than x
|
||||
|
||||
>>> round_up_to_power_of_two(4)
|
||||
4
|
||||
|
||||
Reference in New Issue
Block a user