@stdlib/math-base-special-ceil2

Round a numeric value to the nearest power of two toward positive infinity.
v0.3.0 URL: https://unpkg.com/@stdlib/math-base-special-ceil2@0.3.0/lib/index.js
OpenBrowse Files
stdlibstdmathmathematicsmathmath.ceilceilceil2roundnextpow2prevpow2nearestnumber

@stdlib/math-base-special-round2

Round a numeric value to the nearest power of two on a linear scale.
v0.3.0 URL: https://unpkg.com/@stdlib/math-base-special-round2@0.3.0/lib/index.js
OpenBrowse Files
stdlibstdmathmathematicsmathmath.roundroundround2nextpow2prevpow2nearestnumber

@stdlib/math-base-special-trunc2

Round a numeric value to the nearest power of two toward zero.
v0.3.0 URL: https://unpkg.com/@stdlib/math-base-special-trunc2@0.3.0/lib/index.js
OpenBrowse Files
stdlibstdmathmathematicsmathmath.trunctruncatetrunctrunc2roundfloorceilnextpow2prevpow2nearestnumber

@stdlib/math-base-special-floor2

Round a numeric value to the nearest power of two toward negative infinity.
v0.3.0 URL: https://unpkg.com/@stdlib/math-base-special-floor2@0.3.0/lib/index.js
OpenBrowse Files
stdlibstdmathmathematicsmathmath.floorfloorfloor2roundnextpow2prevpow2nearestnumber