UNPKG

@thi.ng/vectors

Version:

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

14 lines (13 loc) 246 B
import { defOpVNew } from "./defopv-new.js"; const op = globalThis.isNaN; const [a, b, c, d] = defOpVNew((a2) => op(a2), 1); const isNaN = a; const isNaN2 = b; const isNaN3 = c; const isNaN4 = d; export { isNaN, isNaN2, isNaN3, isNaN4 };