Sign in Sign up
npm

smallest-power-of-two

Find the smallest power of 2 with magnitude greater than or equal to the input. Zero runtime dependencies, ESM, TypeScript types.

Activity

Latest release
3mo ago
Total releases
28
Cadence
~6 days
Last 12 months
1

Reach

Stars

Details

License
ISC
First release
Nov 24, 2018
Releases
Version Released
2.0.0 major
1.2.7 patch
1.2.6 patch
1.2.5 patch
1.2.4 patch
1.2.3 patch
1.2.2 patch
1.2.1 patch
1.2.0 minor
1.1.17 patch
1.1.16 patch
1.1.15 patch
1.1.14 patch
1.1.13 patch
1.1.12 patch
1.1.11 patch
1.1.10 patch
1.1.9 patch
1.1.8 patch
1.1.7 patch
1.1.6 patch
1.1.5 patch
1.1.4 patch
1.1.3 patch
1.1.2 patch
1.1.1 patch
1.1.0 minor
1.0.0 initial