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/v4coloru_test.cpp | |
| parent | bd0b3a2ddeafaf0d1669ede7ab5aee22d8da9af7 (diff) | |
Integrate SIMD API from oreh/server-trunk-oreh
Diffstat (limited to 'indra/llmath/tests/v4coloru_test.cpp')
| -rw-r--r-- | indra/llmath/tests/v4coloru_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmath/tests/v4coloru_test.cpp b/indra/llmath/tests/v4coloru_test.cpp index 9f71cfc8cc..b3dbfece34 100644 --- a/indra/llmath/tests/v4coloru_test.cpp +++ b/indra/llmath/tests/v4coloru_test.cpp @@ -141,7 +141,7 @@ namespace tut U8 r = 0x12, g = 0xFF, b = 0xAF; LLColor4U llcolor4u(r,g,b); ensure("magVecSquared:Fail ", is_approx_equal(llcolor4u.magVecSquared(), (F32)(r*r + g*g + b*b))); - ensure("magVec:Fail ", is_approx_equal(llcolor4u.magVec(), fsqrtf(r*r + g*g + b*b))); + ensure("magVec:Fail ", is_approx_equal(llcolor4u.magVec(), (F32) sqrt((F32) (r*r + g*g + b*b)))); } template<> template<> |
