python_utils.next_power#

Back to Module page

Summary#

get next power of 2 following n

Signature#

def next_power(n)
Input variables#

Name

Type

Default

Description

n

Output variables#

Return annotation

Docstring type

Description

None

Docstring#

get next power of 2 following n