UNPKG

@thi.ng/vectors

Version:

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

24 lines (23 loc) 442 B
import { defBitOp, defBitOpN } from "./compile/emit.js"; const [divI, divI2, divI3, divI4] = defBitOp("/", true); const [divU, divU2, divU3, divU4] = defBitOp("/"); const [divNI, divNI2, divNI3, divNI4] = defBitOpN("/", true); const [divNU, divNU2, divNU3, divNU4] = defBitOpN("/"); export { divI, divI2, divI3, divI4, divNI, divNI2, divNI3, divNI4, divNU, divNU2, divNU3, divNU4, divU, divU2, divU3, divU4 };