diff --git a/test/src/test_vec3.h b/test/src/test_vec3.h index f23c7841..7c057f30 100644 --- a/test/src/test_vec3.h +++ b/test/src/test_vec3.h @@ -1678,7 +1678,9 @@ TEST_IMPL(GLM_PREFIX, vec3_max) { ASSERT(test_eq(GLM(vec3_max)(v1), 2.104f)) ASSERT(test_eq(GLM(vec3_max)(v2), -12.35f)) +#ifndef CGLM_FAST_MATH ASSERT(isinf(GLM(vec3_max)(v3))) +#endif // ASSERT(isnan(GLM(vec3_max)(v4))) // ASSERT(isnan(GLM(vec3_max)(v5))) ASSERT(test_eq(GLM(vec3_max)(v6), 11.0f)) diff --git a/test/src/test_vec4.h b/test/src/test_vec4.h index 8d814e2c..435c7005 100644 --- a/test/src/test_vec4.h +++ b/test/src/test_vec4.h @@ -1351,7 +1351,9 @@ TEST_IMPL(GLM_PREFIX, vec4_max) { ASSERT(test_eq(GLM(vec4_max)(v1), 2.104f)) ASSERT(test_eq(GLM(vec4_max)(v2), -12.35f)) +#ifndef CGLM_FAST_MATH ASSERT(isinf(GLM(vec4_max)(v3))) +#endif // ASSERT(isnan(GLM(vec4_max)(v4))) // ASSERT(isnan(GLM(vec4_max)(v5))) ASSERT(test_eq(GLM(vec4_max)(v6), 11.0f))