UNPKG

@thi.ng/vectors

Version:

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

13 lines (12 loc) 217 B
import { defOpV } from "./defopv.js"; const [a, b, c, d] = defOpV((a2) => ~a2); const bitNotI = a; const bitNotI2 = b; const bitNotI3 = c; const bitNotI4 = d; export { bitNotI, bitNotI2, bitNotI3, bitNotI4 };