Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/velo/src/utils/next_power_of_two.ts>nextPowerOfTwo

A high-performance caching library for Deno. Supports LRU, LFU, ARC, and TinyLFU.
Latest
function nextPowerOfTwo
import { nextPowerOfTwo } from "https://deno.land/x/velo@1.0.0/src/utils/next_power_of_two.ts";

Returns the smallest power of to that is equal to or greater than the given value.

Parameters

value: number