Rdocumentation
powered by
Learn R Programming
RSEIS (version 2.1-6)
next2: Next Power of Two
Description
Return next power of two greater than n
Usage
next2(x)
Arguments
x
length of vector
Value
integer value
Examples
Run this code
k =
1236
next2(k)
Run the code above in your browser using
DataLab