UNPKG

@thi.ng/vectors

Version:

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

13 lines (12 loc) 224 B
import { defOpVNew } from "./defopv-new.js"; const [a, b, c, d] = defOpVNew((a2) => !isFinite(a2), 1); const isInf = a; const isInf2 = b; const isInf3 = c; const isInf4 = d; export { isInf, isInf2, isInf3, isInf4 };