UNPKG

@thi.ng/vectors

Version:

Optimized 2d/3d/4d and arbitrary length vector operations, support for memory mapping/layouts

13 lines (12 loc) 223 B
import { defOpV } from "./defopv.js"; const [a, b, c, d] = defOpV((a2) => ~a2 >>> 0); const bitNotU = a; const bitNotU2 = b; const bitNotU3 = c; const bitNotU4 = d; export { bitNotU, bitNotU2, bitNotU3, bitNotU4 };