Operations Packages

bit-manipulation

An ES module providing functions for setting and clearing bits (and doing any bitwise operations) in Numbers up to 53 bits and in BigInts of any bit-width. In addition there's also functions to manipulate the bits in JavaScript's 64-bit floats and represe

1.0.0 • Published 4 years ago

@sndmath/set

``` npm i @sndmath/set ``` ## Import ``` import { SndSet } from '@sndmath/set'; ``` ## Union ``` let v = [2, 4, 4, 5, 17, 'lulu']; let s0 = new SndSet(v); v = [3, 14, 14, 5, 9, 17]; let s1 = new SndSet(v); let s2 = Array.from(SndSet.union(s0, s1)); consol

1.0.2 • Published 2 years ago