File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1678,7 +1678,9 @@ TEST_IMPL(GLM_PREFIX, vec3_max) {
1678
1678
1679
1679
ASSERT (test_eq (GLM (vec3_max )(v1 ), 2.104f ))
1680
1680
ASSERT (test_eq (GLM (vec3_max )(v2 ), -12.35f ))
1681
+ #ifndef CGLM_FAST_MATH
1681
1682
ASSERT (isinf (GLM (vec3_max )(v3 )))
1683
+ #endif
1682
1684
// ASSERT(isnan(GLM(vec3_max)(v4)))
1683
1685
// ASSERT(isnan(GLM(vec3_max)(v5)))
1684
1686
ASSERT (test_eq (GLM (vec3_max )(v6 ), 11.0f ))
Original file line number Diff line number Diff line change @@ -1351,7 +1351,9 @@ TEST_IMPL(GLM_PREFIX, vec4_max) {
1351
1351
1352
1352
ASSERT (test_eq (GLM (vec4_max )(v1 ), 2.104f ))
1353
1353
ASSERT (test_eq (GLM (vec4_max )(v2 ), -12.35f ))
1354
+ #ifndef CGLM_FAST_MATH
1354
1355
ASSERT (isinf (GLM (vec4_max )(v3 )))
1356
+ #endif
1355
1357
// ASSERT(isnan(GLM(vec4_max)(v4)))
1356
1358
// ASSERT(isnan(GLM(vec4_max)(v5)))
1357
1359
ASSERT (test_eq (GLM (vec4_max )(v6 ), 11.0f ))
You can’t perform that action at this time.
0 commit comments