Search
@stdlib/math-base-assert-uint32-is-pow2
Test whether an unsigned integer is a power of 2.
v0.3.0 URL:
https://unpkg.com/@stdlib/math-base-assert-uint32-is-pow2@0.3.0/lib/index.js
Open
Browse Files
stdlib
stdmath
assertion
assert
utilities
utility
utils
util
math
mathematics
ispow2
ispower2
pow2
power
pow
uint32
int32
integer
int
unsigned
signed
number
next-power-of-two
returns the next highest power of two
v1.0.0 URL:
https://unpkg.com/next-power-of-two@1.0.0/index.js
Open
Browse Files
power
of
two
next
highest
greatest
pot
2
smallest-power-of-two
Find the smallest power of 2 with magnitude greater than or equal to input unless 0
v1.2.7 URL:
https://unpkg.com/smallest-power-of-two@1.2.7/src/smallest-power-of-two.js
Open
Browse Files
power
two
2
memory
buffer
size
is-power-of-two
whether a number is power of two
v1.0.0 URL:
https://unpkg.com/is-power-of-two@1.0.0/index.js
Open
Browse Files
power
of
two
is
number
pot
powers
2
next-pow-2
Rounds an integer up to a power of 2
v1.0.0 URL:
https://unpkg.com/next-pow-2@1.0.0/np2.js
Open
Browse Files
next
power
of
2
bit
twiddle
hack
rounding
up