Browse Source

Fixed exponential low level API

Christophe Riccio 9 years ago
parent
commit
42d86b8955
1 changed files with 1 additions and 3 deletions
  1. 1 3
      test/core/core_func_exponential.cpp

+ 1 - 3
test/core/core_func_exponential.cpp

@@ -78,10 +78,8 @@ int test_sqrt()
 #	if GLM_ARCH & GLM_ARCH_SSE2_BIT
 	for(float f = 0.1f; f < 30.0f; f += 0.1f)
 	{
-		float q = _mm_cvtss_f32(_mm_sqrt_ps(_mm_set1_ps(f)));
-		float r = _mm_cvtss_f32(glm_f32v4_sqrt_lowp(_mm_set1_ps(f)));
+		float r = _mm_cvtss_f32(_mm_sqrt_ps(_mm_set1_ps(f)));
 		float s = std::sqrt(f);
-		Error += glm::abs(q - s) < 0.01f ? 0 : 1;
 		Error += glm::abs(r - s) < 0.01f ? 0 : 1;
 		assert(!Error);
 	}