NextPow2: Next power of 2

Description Usage Arguments Value Author(s) Examples

View source: R/NextPow2.R

Description

Find the next integer power of 2

Usage

1

Arguments

x

integer

Value

integer that is a power of 2 higher than given integer

Author(s)

Jonathan M. Lees<[email protected]>

Examples

1
2
3
NextPow2(600)
NextPow2(1023)
NextPow2(1025)

ClamR documentation built on May 30, 2017, 4:48 a.m.