Fixed isnan for Intel compiler

This commit is contained in:
Christophe Riccio
2012-09-20 10:17:03 +02:00
parent b1ecabdd28
commit b012c80771
3 changed files with 14 additions and 4 deletions

View File

@@ -364,14 +364,14 @@ int test_isnan()
Error += true == glm::any(glm::isnan(glm::dvec3(0.0 / Zero_d))) ? 0 : 1;
Error += true == glm::any(glm::isnan(glm::dvec4(0.0 / Zero_d))) ? 0 : 1;
}
/*
{
Error += true == glm::isnan(0.0f/Zero_f) ? 0 : 1;
Error += true == glm::any(glm::isnan(glm::vec2(0.0f/Zero_f))) ? 0 : 1;
Error += true == glm::any(glm::isnan(glm::vec3(0.0f/Zero_f))) ? 0 : 1;
Error += true == glm::any(glm::isnan(glm::vec4(0.0f/Zero_f))) ? 0 : 1;
}
*/
return Error;
}