stdlib-js / math-base-special-round2 Sponsor Star 2 Code Issues Pull requests Round a numeric value to the nearest power of two on a linear scale. nodejs javascript node math stdlib mathematics number node-js round nearest nextpow2 prevpow2 round2 Updated Aug 4, 2024 Python
stdlib-js / math-base-special-trunc2 Sponsor Star 2 Code Issues Pull requests Round a numeric value to the nearest power of two toward zero. nodejs javascript node math stdlib mathematics number truncate floor node-js round ceil nearest trunc trunc2 nextpow2 prevpow2 Updated Aug 4, 2024 Python
stdlib-js / math-base-special-ceil2 Sponsor Star 2 Code Issues Pull requests Round a numeric value to the nearest power of two toward positive infinity. nodejs javascript node math stdlib mathematics number node-js round ceil nearest nextpow2 prevpow2 ceil2 Updated Aug 4, 2024 Python
stdlib-js / math-base-special-floor2 Sponsor Star 1 Code Issues Pull requests Round a numeric value to the nearest power of two toward negative infinity. nodejs javascript node math stdlib mathematics number floor node-js round nearest nextpow2 prevpow2 floor2 Updated Aug 4, 2024 Python