Warning fix

This commit is contained in:
Maksim Shabunin 2015-09-14 12:15:56 +03:00
parent a275489f0a
commit 603864dba2

View File

@ -317,7 +317,7 @@ template<typename R> struct TheTest
for (int i = 0; i < R::nlanes; ++i)
{
EXPECT_FLOAT_EQ((float)std::sqrt(dataA[i]), (float)resB[i]);
EXPECT_FLOAT_EQ((float)1/std::sqrt(dataA[i]), (float)resC[i]);
EXPECT_FLOAT_EQ(1/(float)std::sqrt(dataA[i]), (float)resC[i]);
EXPECT_FLOAT_EQ((float)abs(dataA[i]), (float)resE[i]);
}