Skip to main content
Module

x/structurae/utilities.ts>popCount32

Data structures for high-performance JavaScript applications.
Latest
function popCount32
import { popCount32 } from "https://deno.land/x/structurae@4.0.1/utilities.ts";

Counts set bits in a given number.

Parameters

value: number

the number

Returns

number

the amount of set bits