]> gitweb.factorcode.org Git - factor.git/commit
math.vectors.simd: don't try distance on int types
authorJoe Groff <arcata@gmail.com>
Mon, 14 Nov 2011 00:09:30 +0000 (16:09 -0800)
committerJoe Groff <arcata@gmail.com>
Mon, 14 Nov 2011 00:10:27 +0000 (16:10 -0800)
commit54dcd8a4eaf481d767a97fa3c2cf3a45a34aad7d
tree0661bf5036f3539dc7da679dad487aa537273ad0
parentdd8bb5b67308754fb58d559f3392f0700d14910a
math.vectors.simd: don't try distance on int types
"v- norm" doesn't work right for uint-4s because of underflow, but who's going to call "distance" on a uint vector?
basis/math/vectors/simd/simd-tests.factor