microsoft / DirectXMath

DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps
https://walbourn.github.io/introducing-directxmath/
MIT License
1.51k stars 231 forks source link

Update IsNan tests for -fmath-finite-only scenarios #184

Closed walbourn closed 5 months ago

walbourn commented 5 months ago

the IsInfinite test functions fail in Intel Clang/LLVM release configurations. The solution is to use a scalar test when dealing with -fmath-finite-only scenarios for clang generally.