diff options
author | Dave Parks <davep@lindenlab.com> | 2010-08-19 12:25:15 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-08-19 12:25:15 -0500 |
commit | 2fea1d5d33ec1b41a3cfa4307a1bfa58d8014f88 (patch) | |
tree | 0438f2363b2a91a5ffe970a8130faa118f260e7e /indra/llmath/tests/v3dmath_test.cpp | |
parent | bd0b3a2ddeafaf0d1669ede7ab5aee22d8da9af7 (diff) |
Integrate SIMD API from oreh/server-trunk-oreh
Diffstat (limited to 'indra/llmath/tests/v3dmath_test.cpp')
-rw-r--r-- | indra/llmath/tests/v3dmath_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmath/tests/v3dmath_test.cpp b/indra/llmath/tests/v3dmath_test.cpp index e7c949186c..894b6200f5 100644 --- a/indra/llmath/tests/v3dmath_test.cpp +++ b/indra/llmath/tests/v3dmath_test.cpp @@ -409,7 +409,7 @@ namespace tut LLVector3d vec3D(x,y,z); F64 res = (x*x + y*y + z*z) - vec3D.magVecSquared(); ensure("1:magVecSquared:Fail ", ((-F_APPROXIMATELY_ZERO <= res)&& (res <=F_APPROXIMATELY_ZERO))); - res = fsqrtf(x*x + y*y + z*z) - vec3D.magVec(); + res = (F32) sqrt(x*x + y*y + z*z) - vec3D.magVec(); ensure("2:magVec: Fail ", ((-F_APPROXIMATELY_ZERO <= res)&& (res <=F_APPROXIMATELY_ZERO))); } |